breautek commented on issue #255: URL: https://github.com/apache/cordova-plugin-geolocation/issues/255#issuecomment-1332601148
I'm closing this issue because it doesn't appear to be related to Cordova. To recap, Cordova doesn't implement any actual geolocation features for the Android platform. What the Cordova plugin does do is handle geolocation permissions for the application, hooking into the Webview's geolocation implementation. So in otherwords, the geolocation feature is provided by the system webview itself. Because this issue does not appear to be a permissions related issue, there isn't anything Cordova can do to resolve this problem. Out of all the comments, the devices that is affected (Vivo, Oppo, Xioami, etc...). These devices often don't use standard AOSP software. I don't have access to any of these devices for testing, but the standard AOSP system webview appears to work as expected. And I know that some of these devices do not use, or uses a fork of the standard AOSP webview. Vivo for example has their own VivoBrowser that appears to be used based on the user agent. Unfortunately I do not have an answer of why this is happening on these specific devices, I just know that it's not something Cordova can correct. It's very likely an issue within their system webview implementation. As for potential workarounds, several developers have posted success utilizing an alternate geolocation plugin that uses the native APIs instead of the browser-based APIs that this Cordova plugin relies on. So that may be a path to consider. Cordova will not implement a native-based implementation as a workaround as there are many community plugins that does this already. -- 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]
