You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "xuluni (JIRA)" <ji...@apache.org> on 2014/09/12 06:25:34 UTC

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

xuluni created CB-7528:
--------------------------

             Summary: 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


>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)