-
-
Notifications
You must be signed in to change notification settings - Fork 894
Status of permission is Denied after choose approximately location in request permission dialog #984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am having the same issue. I noticed that, when choosing approximate location, the permission returns as PermanentlyDenied, which is not the expected behaviour, as, at least my app, could still work with only approximate location. Also, I don't see a way, in this package, to handle the dialog that asks you to change to precise location or to change to approximate location, after choosing approximate location in the first permission dialog. Choosing to keep approximate location still leaves the permission as PermanentlyDenied. This dialog appears two times before not appearing anymore, so there is not a rationale for it either. |
I have the same problem for coarse (approximate) location. Any update on this issue? |
There is need to know which location (approximate or precise) was selected due to some functionality depends on it. For example, network_info_plus will do not work correctly if approximate location permission is granted. |
Related to #559 |
Hi, any updates? |
@idealgeek007 same |
any update? |
🐛 Bug Report
In android 12 or higher, when request both ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION will show dialog to choose precise location or approximate location.

when choose approximate location, the apps will grant only ACCESS_COARSE_LOCATION.

But the constant Permission.location in permission_handler will be "isGranted" only both ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION are allowed.

link reference: https://developer.android.com/training/location/permissions
After request permission location, i will get current location when granted and show dialog for user when the permission is denied. Because of above problem, when i choose approximate location, the app always show the dialog rather than requesting permission.
Expected behavior
Reproduction steps
Configuration
Version: 10.0.1
Platform:
The text was updated successfully, but these errors were encountered: