-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
iOS requestLocationAuthorization not callBack if I deny current position in popup system message #183
Comments
This is intentional behaviour by Apple so apps cannot hassle a user if they refuse a permission. |
Thank you @dpa99c I've implemented a timeout. Only in this case after 8sec detach the listner and unblock the app to proceed to use Thank you again |
@claudioviola |
Hey @Topiya sorry have passed 2 years and I'm out from the project Basically when user deny the first prompt about the request of the current position when the second time that user enter in the app prompt didn't show again and you won't be able to know any feedback from the request of current position, so when you run the current position request you should set a timeout with an expiration after few seconds (I set 8 seconds for that scenario) If you don't receive any feedback you could take some decision in the user interface. hope this helps you |
@claudioviola Thank you for your prompt response. I will try with your suggestion. |
In iOS 10.2
When my systmes localitazion service is off and I run the app first time a popup system message show me. This popup inform me to Allow current position. If I select "Not Allow", close the app and run again the app, the iOS requestLocationAuthorization is called but not return any callback.
Is it a bug or my fault?
Thank you so much
Claudio
The text was updated successfully, but these errors were encountered: