cordova-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/CB-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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:
http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4

Some info here as well: http://www.mindsizzlers.com/2011/07/ios-background-location/
                
> GPS position.speed is 0 in background tracking
> ----------------------------------------------
>
>                 Key: CB-1752
>                 URL: https://issues.apache.org/jira/browse/CB-1752
>             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: http://www.atlassian.com/software/jira

Mime
View raw message