Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.3.0
-
None
Description
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 ?