Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1752

GPS position.speed is 0 in background tracking

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.1.0
    • 2.3.0
    • cordova-ios
    • iPhone 4
      iOS 5.1
      CDV 2.1

    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.

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            bernhard-b Bernhard Bezdek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: