Details
-
Type:
Story
-
Status: Closed
-
Priority:
High
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: Release 9.3.0
-
Component/s: Android
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:2020 Sprint 18
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
- relates to
-
TIMOB-28114 TiAPI: Geolocation Parity
-
- Open
-