You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/12/07 21:10:30 UTC

[GitHub] [cordova-plugin-geolocation] jfoclpf commented on issue #233: Geolocation getcurrent position passing 0 (Time out error)

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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org