Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.6.0
Description
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 versions.
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.