cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-7556) Clearing all watches does not stop Location Services
Date Mon, 15 Sep 2014 22:15:34 GMT


ASF subversion and git services commented on CB-7556:

Commit 551b40458c208e23be0005f25ad8a5c896f3aa9f in cordova-plugin-geolocation's branch refs/heads/master
from Mark Pearce
[;h=551b404 ]

CB-7556 - iOS: Clearing all Watches does not stop Location Services

iOS shows a little arrow in the status bar if location services are in use. When you set a
watch on Location Manager, it starts tracking position, and the arrow symbol appears. However,
when that watch is cleared, no command to Location Manager is sent to stop tracking, so the
arrow stays visible, even though in reality, the app is not using location services. My guess
is that this also impacts battery life to some extent, especially if your iOS app has background
location enabled.

This fix would automatically stop tracking location once all watched are cleared, so that
the arrow symbol in the iOS status will disappear.

Tested on iOS 7.1.2.

Signed-off-by: Shazron Abdullah <>

> Clearing all watches does not stop Location Services
> ----------------------------------------------------
>                 Key: CB-7556
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Geolocation
>         Environment: iOS
>            Reporter: Shazron Abdullah
> See

This message was sent by Atlassian JIRA

View raw message