-
-
Notifications
You must be signed in to change notification settings - Fork 783
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
hasPermission and requestPermission returns different values #738
Comments
Hey, |
I found it on location version 4.4.0 and after updating on 5.0.0-dev.7 same result. |
I'm seeing the same on 4.4.0, iOS, physical device - would be great to have this fixed so I can display the proper UI to my users - I don't want to request permission until the users asks me to which makes me need an additional user action to discover that the permission is deniedForever. |
After investigation, on Android you need to make a first request for permission in order to determine the status. On iOS can't definitely be fixed 👍 I'll have a look now |
I've published a new version of location 5, let me know if it's fixed for you :) |
I'm getting the same result, but hasPermission always returns denied, and requestPermission returns deniedForever, even though I gave permission, and I've tried this 5.0.0-dev.8 but the app opens for a sec and just crashes. so any workaround with the stable version to get it working right? |
I still have this problem |
On iOS after deny.
Expected behavior
Method hasPermission must return PermissionStatus.deniedForever.
The order and numbers of method calls does not affect the result.
Steps To Reproduce
Tested on:
The text was updated successfully, but these errors were encountered: