[
https://issues.apache.org/jira/browse/CB-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813107#comment-13813107
]
James Long commented on CB-3209:
--------------------------------
I just did a proper implementation for geolocation on firefoxos:
https://github.com/jlongster/cordova-plugin-geolocation
You can see the code here:
https://github.com/jlongster/cordova-plugin-geolocation/blob/master/src/firefoxos/GeolocationProxy.js
The plugin.xml was missing several entries and it was completely broken before.
It was never even using the plugin, so it was just using the native API.
Unfortunately, I haven't been able to get it to actually work on the device yet
because the native geolocation call never gives me back a position. The code
should work, though. I haven't fixed the manifest.webapp permissions yet, I was
just manually adding the permission.
> geolocation
> -----------
>
> Key: CB-3209
> URL: https://issues.apache.org/jira/browse/CB-3209
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: FirefoxOS
> Affects Versions: 2.6.0
> Reporter: Herm Wong
> Assignee: Herm Wong
> Fix For: 3.2.0
>
>
> geolocation spec: http://www.w3.org/TR/geolocation-API/
--
This message was sent by Atlassian JIRA
(v6.1#6144)