Android 9

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 these changes and modify their apps to support them properly, where applicable to the app.

Privacy changes

To enhance user privacy, Android 9 introduces several behavior changes, such as limiting background apps’ access to device sensors.

On devices running Android 9, your App still needs to use foreground service for all NAOSDK background services, and if your App have targetsdkVersion >= 28 your need to declare the usage of the FOREGROUND_SERVICE permission.

 

Links: Behavior changes: apps targeting API Level 28+.

    • 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 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 ...
    • 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 ...