Hi guys,

I wanted to discuss an issue with Geolocation plugin for Android - fail 
callback is not called if Location services are turned off.
Is this a known issue?

I have noticed that it was previously handled by native code [1], which has 
been removed in favor of HTML5 in [2].
Is there a way to check Location services state in WebView?
If not - is it worth to get that native code back to fail fast if no location 
providers are enabled (BTW, opts.timeout does not seem to work as well)?

[1]: 
https://github.com/apache/cordova-plugin-geolocation/blob/99945c542cf65e50b7704ccc6c739246135eef5d/src/android/GeoBroker.java#L91-L94
[2]: 
https://github.com/apache/cordova-plugin-geolocation/commit/ab8a448e52b0c2cc05fabe3e0d0cff3fd859b020

Please let me know if you have any questions or considerations.

Best regards,
Sergey Shakhnazarov


Reply via email to