meghanadixit1 opened a new issue #188: Android X - Handle location permission when user selects- "Allow only when using thr app" URL: https://github.com/apache/cordova-plugin-geolocation/issues/188 # Bug Report ## Problem ### What is expected to happen? Prior to Android X, when getCurrentPosition() is called, And user clicks on Allow, we used to get the current location. Now with Android X, we get new dialog with 3 options - Allow Allow only when using the app Deny When the second option is selected, and the location is off from the device settings, Nothing happens - neither error nor success. ### What does actually happen? We should get appropriate response from the method, so that we can handle the error gracefully. ## 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? --> ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> ### 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. --> ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ ] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [ ] 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
