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

geolocation.clearWatch doesn't shut the GPS down under iOS

    XMLWordPrintableJSON

    Details

      Description

      Calling navigator.geolocation.clearWatch doesn't shut the GPS down.
      It's no longer possible to manually invoke geolocation.stop() (and thus the corresponding stopLocation function in CDVLocation), which was a temporary solution with previous phonegap/cordova versions.

      It's quite a problem because an application using the GPS even for a short amount of time will completely drain the battery in a few hours.

        Attachments

        1. CDVLocationShim.zip
          4 kB
          Shazron Abdullah

          Activity

            People

            • Assignee:
              filmaj Filip Maj
              Reporter:
              null Andrea Zicchetti
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified