You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Bernhard Bezdek (JIRA)" <ji...@apache.org> on 2012/10/29 16:24:13 UTC

[jira] [Created] (CB-1752) GPS position.speed is 0 in background tracking

Bernhard Bezdek created CB-1752:
-----------------------------------

             Summary: 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


In an App latitude, longitude, altitude, speed and timestamp is stored into a database table.
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)




--
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

[jira] [Commented] (CB-1752) GPS position.speed is 0 in background tracking

Posted by "Bernhard Bezdek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486958#comment-13486958 ] 

Bernhard Bezdek commented on CB-1752:
-------------------------------------

(W3C Web SQL Database) But this error is also there if I write the values I need into the DOM.
                
> 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

[jira] [Resolved] (CB-1752) GPS position.speed is 0 in background tracking

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Commented] (CB-1752) GPS position.speed is 0 in background tracking

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486477#comment-13486477 ] 

Shazron Abdullah commented on CB-1752:
--------------------------------------

Not enough information. What do you mean by "database table", are you talking about WebSQL?
                
> 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.
> 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)

--
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

[jira] [Updated] (CB-1752) GPS position.speed is 0 in background tracking

Posted by "Bernhard Bezdek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernhard Bezdek updated CB-1752:
--------------------------------

    Description: 
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.




  was:
In an App latitude, longitude, altitude, speed and timestamp is stored into a database table.
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)




    
> 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

[jira] [Updated] (CB-1752) GPS position.speed is 0 in background tracking

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-1752:
---------------------------------

    Fix Version/s: 2.3.0
    
> 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.
> 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)

--
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