MOCA Android SDK has been tested in the Android 10 OTA. Find the notes for this version below:
- Android 10 introduces a new permission model where the user can choose between “When in Use” or “Always” location permission. The SDK works correctly with either permission, however geofences and bluetooth beacons won’t be detected in the background if the application has the “When in use” permission.
- After upgrading to Android 10, the application permissions will be inherited from the previous version. However, a notification will be presented to the user showing that the application has been using the device location in the background. After tapping on the notification, Android will present options to change this permission to “When in use”. Bear in mind this behavior and clearly present to your users the value of having the “Always” permission enabled.