Configuring Optional Android SDK Permissions

Configuring Optional Android SDK Permissions

The Applause  SDK is capable of gathering device state and other contextual information. Note that the none of the permissions below are not obligatory. The SDK will detect their declaration in AndroidManifest.xml file and start to monitor the device.

Please refer to Android security docs for more information about app permissions.

READ_EXTERNAL_STORAGE

We strongly recommend enabling the READ_EXTERNAL_STORAGE  permission. This will allow the Applause SDK to create bug attachments from OS Gallery and Camera.

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

READ_PHONE_STATE

We strongly recommend enabling the READ_PHONE_STATE permission. This will allow the Applause SDK to get information about the carrier, provided  the SIM card is present.

<uses-permission android:name="android.permission.READ_PHONE_STATE" />

ACCESS_WIFI_STATE & ACCESS_NETWORK_STATE

Both permissions allow the SDK to gather information about  connectivity. It is recommended that developers enable these permissions and capture this information.

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

ACCESS_COARSE_LOCATION & ACCESS_FINE_LOCATION

These allow the Applause SDK to report location information based on both coarse references (the location of the nearest mobile network tower) and precise references (such as GPS).

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

BLUETOOTH & BLUETOOTH_ADMIN

This allows the Applause SDK to report information about the device’s Bluetooth interface, including its state (on/off) and pair/unpair events.

<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />