READ_SYNC_SETTINGS permission optional

If, for some reason your don´t like the READ_SYNC_SETTINGS permission to be added to your application since our Android SDK is using it, just add this line to your manifest:

XML
<uses-permission
            android:name="android.permission.READ_SYNC_SETTINGS"
            tools:node="remove"
            tools:selector="com.sensorberg.sdk" />

This change comes to affect in the final Android 1.0.1 release.

Read all about the tools:remove feature in the Manifest Merger documentation

Don´t remove before 1.0.1 Don´t follow this tip unless you´re using 1.0.1. Previous versions of the SDK do not know about this optional permission and will crash.

Check your manifest with apktool To make sure this worked, test your final APK with apktool

Bash
apktool d -s -f <your-apk-file>