[
https://issues.apache.org/jira/browse/CB-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043484#comment-14043484
]
Romain Garrigues commented on CB-5977:
--------------------------------------
Following previous link, removing android source reason was : "The reason we
went with CB-5977 is that the webview on newer Android versions will get GPS
locks more quickly than the native API, hence its removal. Adding the plugin on
Android just adds the necessary permissions to use HTML5 Geolocation in your
app."
But I don't understand how can it work now ?
I was expecting to call navigator.geolocation.getCurrentPosition(), but
geolocation isn't an available function of navigator (CordovaNavigator in fact).
Used versions : cordova v3.4.0, android v4.3, cordova geolocation plugin v0.3.8.
Do I have missed something ?
> Deprecate Android Geolocation plugin
> -------------------------------------
>
> Key: CB-5977
> URL: https://issues.apache.org/jira/browse/CB-5977
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Geolocation
> Reporter: Mike Billau
> Assignee: Joe Bowser
> Fix For: 3.5.0
>
>
> Lets deprecate the Geolocation plugin on Android since the Web Geolocation
> works just as well as our implementation. See
> http://markmail.org/message/ketdgrzm2dcpxfo2 for further discussion.
> We need to keep the config.xml in order to continue adding the location
> permissions. We should zero out the rest of the code since it shouldn't be
> used.
--
This message was sent by Atlassian JIRA
(v6.2#6252)