You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
As i understand, i have to ask user for foreground location permission first, and then after giving permission i have to ask again for a background permission...
Steps to reproduce
in build.gradle change targetSdkVersion 30 and compileSdkVersion 30
use emulator API 30
just copy to mainActivity and call requestAccessFineLocation() from onCreate(...)
Expected behaviour
Show the same permission dialog as in API 29
Actual behaviour
Nothing happens. Permission dialog is being ignored
https://developer.android.com/training/location/permissions#request-background-location
As i understand, i have to ask user for foreground location permission first, and then after giving permission i have to ask again for a background permission...
Steps to reproduce
in build.gradle change
targetSdkVersion 30
andcompileSdkVersion 30
use emulator API 30
just copy to mainActivity and call requestAccessFineLocation() from onCreate(...)
Version of the library
implementation 'com.karumi:dexter:6.2.2'
or
implementation 'com.karumi:dexter:4.2.0' (i changed withContext(...) to withActivity(...))
The text was updated successfully, but these errors were encountered: