[
https://issues.apache.org/jira/browse/CB-10278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicholas Tsaoucis updated CB-10278:
-----------------------------------
Description:
With the new version of the geolocation plugin (-r1.0.1- 2.0.0) when calling
watchPosition no watchID is returned as a string. only undefined is returned.
This makes it impossible to call clearWatch as we don't have the watchID to use
in the clearWatch call.
I rolled back to version -r1.0.0- r1.0.1 and it works properly.
~edit
The issue is actually with the master branch (version 2.0.0)
was:
With the new version of the geolocation plugin (r1.0.1) when calling
watchPosition no watchID is returned as a string. only undefined is returned.
This makes it impossible to call clearWatch as we don't have the watchID to use
in the clearWatch call.
I rolled back to version r1.0.0 and it works properly.
> geolocation watchPosition doesn't return watchID string
> -------------------------------------------------------
>
> Key: CB-10278
> URL: https://issues.apache.org/jira/browse/CB-10278
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Geolocation
> Environment: Android 4.4 on samsung galaxy s5.
> Android 5.0 on samsung galaxy s5.
> Reporter: Nicholas Tsaoucis
> Labels: Android, Triaged
>
> With the new version of the geolocation plugin (-r1.0.1- 2.0.0) when calling
> watchPosition no watchID is returned as a string. only undefined is returned.
> This makes it impossible to call clearWatch as we don't have the watchID to
> use in the clearWatch call.
> I rolled back to version -r1.0.0- r1.0.1 and it works properly.
> ~edit
> The issue is actually with the master branch (version 2.0.0)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]