cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-509) geolocation.clearWatch doesn't shut the GPS down under iOS
Date Sat, 14 Apr 2012 01:55:18 GMT


Filip Maj commented on CB-509:

Related to this, I'm planning on landing a W3C-compliant rewrite of geolocation in cordova
in 1.7 (tracked in CB-359). Includes a native iOS component. I would like to make sure that
when I merge that in next week this bug is also covered.
> geolocation.clearWatch doesn't shut the GPS down under iOS
> ----------------------------------------------------------
>                 Key: CB-509
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.6.0
>            Reporter: Andrea Zicchetti
>            Assignee: Shazron Abdullah
>            Priority: Critical
>              Labels: CDVLocation, battery, clearWatch, gps, shutdown, stopLocation
>             Fix For: 1.7.0
>         Attachments:
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
> Calling navigator.geolocation.clearWatch doesn't shut the GPS down.
> It's no longer possible to manually invoke geolocation.stop() (and thus the corresponding
stopLocation function in CDVLocation), which was a temporary solution with previous phonegap/cordova
> It's quite a problem because an application using the GPS even for a short amount of
time will completely drain the battery in a few hours.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message