Skip to main content
Version: 7.0.0

Release Notes, 6.16.6

🚧 Minimum required:

Android :v6.16.6 🚀
iOS: v6.16.5 🚀

Android 11

We adopted the Smartface platform to Android 11 which introduce new features as well as behavior changes aimed at making the Android more helpful, more secure, and better performing. In many cases your app will work exactly as expected out of the box, while in other cases you might need make changes to your app to adapt to the platform changes.

Targeting to Android 11, comes with some behavior changes;

  • If the app hasn't been used for a few months, the system protects user data by automatically resetting the sensitive runtime permissions that the user had granted your app. This action has the same effect as if the user viewed a permission in system settings and changed your app's access level to Deny.

  • Permission dialog visibility: Starting in Android 11, if the user taps Deny for a specific permission more than once during your app's lifetime of installation on a device, the user doesn't see the system permissions dialog if your app requests that permission again. The user's action implies "don't ask again." On previous versions, users would see the system permissions dialog each time your app requested a permission, unless the user had previously selected a "don't ask again" checkbox or option. This behavior change in Android 11 discourages repeated requests for permissions that users have chosen to deny.

  • One-time permissions: Starting in Android 11, whenever your app requests a permission related to location, microphone, or camera, the user-facing permissions dialog contains an option called Only this time. If the user selects this option in the dialog, your app is granted a temporary one-time permission.

  • Background location access: Android 11 changes how a feature in your app can gain access to background location.

    If a feature in your app accesses location from the background, verify that such access is necessary. Consider getting the information that the feature needs in other ways, as described on the page about how to access location in the background.

  • APK Signature Scheme v2 now required: Apps that target Android 11 (API level 30) that are currently only signed using APK Signature Scheme v1 must now also be signed using APK Signature Scheme v2 or higher. Users can't install or update apps that are only signed with APK Signature Scheme v1 on devices that run Android 11.

  • Media intent actions require system default camera

    Starting in Android 11, only pre-installed system camera apps can respond to the following multimedia methods:

    If more than one pre-installed system camera app is available, the system presents a dialog for the user to select an app. If you want your app to use a specific third-party camera app to capture images or videos on its behalf, you can make these intents explicit by setting a package name or component for the intent.

Deprecation Warning

Accessing to external paths are deprecated in Android, together with the changes made on Android 11. Follow this link to get more details about the change done by Google.