Android 10

Android 10

Device Location

If your app targets Android 10 (API level 29) or higher:

  • App cannot access the location unless said app is in the foreground. This feature is enabled by default.
  • There is, however, a new location permission called ACCESS_BACKGROUND_LOCATION that, if granted, could once again allow location information even if the app is in the background.

Location authorization changes

  • ​​​​​​​We find exactly the mechanism that already exists on iOS. it’s really the same thing now. the user has the choice to decide whether or not the application can use the backgound.

Warning: Geofences and bluetooth beacons won’t be detected in the background if the application has the “While using the app” permission.

    • Related Articles

    • Android 12

      Intro Android 12 introduced new features and behaviors, from permissions to security, that affect directly the NAO® SDK. All the changes are described on Android 12’s documentation. NAO® SDK Release 21.02 (v4.10.x) will still work as expected with ...
    • Android

      NAOMAPSDK is a mobile map tool that allows developers to integrate indoor maps into Android and iOS applications using map data from NAO Cloud. This SDK simplifies the process of adding indoor mapping functionality to mobile apps, making it easier ...
    • Android 9

      Android 9 (API level 28) introduces a number of changes to the Android system. The following behavior changes apply to all apps when they run on the Android 9 platform, regardless of the API level that they are targeting. All developers should review ...
    • Android 8

      Android 8.0 (API level 26) introduces behavior changes as well as new features and APIs. The key changes that impact NAO SDK are Android background execution limits. If you are using NAO SDK only in a user-app interactive way, there will not be much ...
    • Android 11

      Location Permissions If your app targets Android 11: Like Android 10, you need location permission called ACCESS_BACKGROUND_LOCATION to allow location information even if the app is in the background. If you request a foreground location permission ...