breautek commented on issue #294: URL: https://github.com/apache/cordova-plugin-geolocation/issues/294#issuecomment-3953613305
I'm closing this because Cordova doesn't maintain any actual GPS code -- that is completely handled by the system webview, which is maintained by [Chromium](https://www.chromium.org/for-testers/bug-reporting-guidelines/). The Cordova wrapper simply manages the permission requests. GPS in airplane mode will "work" but without A-GPS features which would be disabled it can take a **very long** (generally up to 15-30 minutes on a cold boot depending on weather conditions and assuming you're outside) time for the device to get a fix on 3+ satellites to perform triangulation. Some android devices have granular location settings for A-GPS features and if your device does, I'd also try disabling A-GPS features (like GPS over wifi/cellular/bluetooth, etc) to ensure that's not interfering. This is my first speculation and if the device is not getting a proper satellite fix then the API is working as intended. If you can use a third-party app that uses the GPS APIs to show satellite information (such as [GPS Test](https://play.google.com/store/search?q=gps+test&c=apps) (no affiliation) showing that you a 3D fix and the geolocation API is still timing out -- then it may warrant bringing that information to [Chromium](https://www.chromium.org/for-testers/bug-reporting-guidelines/). -- 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]
