You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Joe Bowser <bo...@gmail.com> on 2015/09/17 01:48:58 UTC

[Android] Marshmallow Update

Hey

I just went through the Geolocation API plugin, and here's the thing, we're
going to need to have a Geolocation Plugin.

The main issue that we're facing with the native implementation is that
once the security exception is thrown, we call the prompt natively.  Unlike
with Cordova plugins we don't recover the context and send back the result
like with a normal plugin.

So, instead, I propose that we add code to check for the Geolocation
permission and prompt for it before we do something like add a geolocation
watch or get the current location.

Thoughts?

Joe