cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Wanja (JIRA)" <>
Subject [jira] [Commented] (CB-9716) cordova-plugin-geolocation clearWatch seems not to stop GPS tracking
Date Mon, 07 Dec 2015 22:25:10 GMT


Christoph Wanja commented on CB-9716:

Just worked on this old issue today and fixed it. It was my fault, my openlayers module created
his own geolocation listener. So i had two of them but only killed one with stopLocation.

> cordova-plugin-geolocation clearWatch seems not to stop GPS tracking
> --------------------------------------------------------------------
>                 Key: CB-9716
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Geolocation
>    Affects Versions: 5.1.1
>         Environment: Android 4.4.4
>            Reporter: Christoph Wanja
>            Priority: Minor
> Android 4.4.4, GPS enabled
> When i start checking geolocation with navigator.geolocation.watchPosition(), and want
to stop it, clearWatch stops delivering geolocation information but the GPS symbol doesn't
> After closing the app, GPS symbol disappears.
> Correct behaviour? What about battery lifetime? Is it just the symbol in the status bar
or is GPS still activated and delivers new choords?
> ps: cordova.exec(null, null, "Geolocation", "stopLocation", []) doesn't work either

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message