cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Resolved] (CB-1752) GPS position.speed is 0 in background tracking
Date Wed, 28 Nov 2012 22:05:58 GMT


Shazron Abdullah resolved CB-1752.

    Resolution: Not A Problem

This is not a Cordova API issue ultimately. This is an iOS issue where you need to enable
background location tracking. See UIBackgroundModes:

Some info here as well:
> GPS position.speed is 0 in background tracking
> ----------------------------------------------
>                 Key: CB-1752
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: iPhone 4
> iOS 5.1
> CDV 2.1
>            Reporter: Bernhard Bezdek
>            Assignee: Shazron Abdullah
>              Labels: callback, gps, watchposition
>             Fix For: 2.3.0
> In an App latitude, longitude, altitude, speed and timestamp is stored into a database
table (W3C Web SQL Database) But this error is also there if I write the values I need into
the DOM.
> As long as the App is in foreground everything works fine.
> If App is going into background mode (location) and is reopened a time later everything
without the speed is going into table.
> There's only one codebase for tracking (navigator.geolocation.watchPosition) -> the
watchPosition getAll the Trackpoints after I reopen the App.

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

View raw message