tujlaky opened a new issue #211: URL: https://github.com/apache/cordova-plugin-geolocation/issues/211
# Bug Report On iOS when the user selects the Allow once permission on getCurrentPosition after a timeout the app is asking again for the location permissions. ## Problem The permission is asked again from the user without user interaction. ### What is expected to happen? The plugin should not ask for permission again. ### What does actually happen? On iOS the didChangeAuthorizationStatus event is triggered after the requested permission is removed by apple. This event restarts the whole flow. ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> Just call the navigator.geolocation.getCurrentPosition and when asked for permission select allow once. Put the app in the background and wait around 3-5 minutes. After the app is reopened there is a new permission request. ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> iPhone XS iOS 13.6.1 ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Cordova: 9.0.0, cordova-ios: 5.1.1 Other Framework: Ionic 5 Operating System: macOS 10.15.6, Xcode 11.7 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
