jfoclpf commented on issue #233: URL: https://github.com/apache/cordova-plugin-geolocation/issues/233#issuecomment-988265590
I had the same error on a Xiaomi MIUI Android 11 device, and in my case strangely although you explicitly give location permission to the app, you still have to enforce that permission in `Android Settings -> Location -> Toggle Location access`. That is, the error in this case was `PositionError.TIMEOUT` and not `PositionError.PERMISSION_DENIED` But thanks anyway for the tip @breautek cause it led me to the solution -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
