Closed ArchanaSharma95 closed 3 years ago
From android 11, "Allow all the time" will not be shown in permission dialog. Instead users have to go to settings and select it manually. It should work on android 10, can you share your build tools & compile sdk version ?
You need to also ask for ACCESS_BACKGROUND_LOCATION
permission using PermissionAndroid
api. Otherwise Allow all the time
will not show up in android 10.
According to google official document :: On Android 10 (API level 29) and higher, you must declare the ACCESS_BACKGROUND_LOCATION permission in your app's manifest in order to request background location access at runtime. On earlier versions of Android, when your app receives foreground location access, it automatically receives background location access as well.
I did this but Not getting "Allow all the time" option inside location dialog. Please inform are providing support for android level 29 or greater? Also how do I fix this??