cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clayton Grassick (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7685) Geolocation watch on Android continues when app in background
Date Wed, 01 Oct 2014 19:18:33 GMT
Clayton Grassick created CB-7685:
------------------------------------

             Summary: Geolocation watch on Android continues when app in background
                 Key: CB-7685
                 URL: https://issues.apache.org/jira/browse/CB-7685
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.5.0, 3.6.3
         Environment: Samsung Galaxy S3, Intel Yolo and others.
            Reporter: Clayton Grassick


When using HTML5 geolocation via navigator.geolocation.watchPosition, the GPS continues even
when the app is in the background, draining the battery.

I have tried <preference name="KeepRunning" value="false"/> to no effect. Attempting
to catch pause events to attempt to clearWatch did not appear to stop it either.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message