Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28049

Android: Investigate "ACCESS_BACKGROUND_LOCATION" handling on Android 11

    Details

      Description

      Summary:
      Supposedly, Android 11 will no longer show a permission request dialog for the ACCESS_BACKGROUND_LOCATION permission. We need to confirm this.
      https://developer.android.com/preview/privacy/location#background-location-permission-dialog-changes

      If true, then the only way to enable permission is to go to the app's "Location Permissions" activity under system settings. This very well maybe true because according to Google's developer blog below, they will be removing apps using this permission from Google Play unless they provide a valid reason and pass Google's review process.
      https://android-developers.googleblog.com/2020/02/safer-location-access.html

      Note 1:
      We might be able to reach the app's "Location Permission" activity under system settings via the following intent action.
      ACTION_LOCATION_SOURCE_SETTINGS

      Note 2:
      We may need to expose Android's shouldShowRequestPermissionRationale () API. Normally, this method would return true if the end-user tapped on "Disallow" in the permission request dialog. On Android 11, this might always return true for the ACCESS_BACKGROUND_LOCATION where you would have to tell the end-user how to enable it under system settings.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration