You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Archana Naik (JIRA)" <ji...@apache.org> on 2014/09/17 18:54:33 UTC

[jira] [Commented] (CB-7528) Cordova geolocation executes on a device which already has HTML5 geolocation implementation

    [ https://issues.apache.org/jira/browse/CB-7528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137542#comment-14137542 ] 

Archana Naik commented on CB-7528:
----------------------------------

Yes removing geolocation makes sense for amazon-fireos and is in plans. Will do it soon.

> Cordova geolocation executes on a device which already has HTML5 geolocation implementation
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-7528
>                 URL: https://issues.apache.org/jira/browse/CB-7528
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Amazon FireOS
>    Affects Versions: 3.3.0
>            Reporter: xuluni
>            Assignee: Archana Naik
>              Labels: javascript
>
> From the spec https://github.com/apache/cordova-plugin-geolocation/blob/master/doc/index.md
> It says :
> "This API is based on the W3C Geolocation API Specification, and only executes on devices that don't already provide an implementation. "
> But this is not true now (tested on android tablet OS 4.4.2 ). It used to be true for Cordova 2.9.0 .
> I found the difference is :
> 1. Cordova 2.9.0 , it uses "defaults" to map module 
>     https://github.com/apache/cordova-js/blob/2.9.x/lib/common/plugin/geolocation/symbols.js#L24
> 2. Cordova latest version, it uses "clobbers" to map module .
> https://github.com/apache/cordova-plugin-geolocation/blob/master/plugin.xml#L60
> I see the Cordova geolocation implementation is removed on android platform, shouldn't do on amazon-fireos as well ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)