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

Fix geolocation plugin on Windows

    XMLWordPrintableJSON

    Details

      Description

      There are two issues

      1. When I use watchPosition Api on Windows onSuccess is called only once.

      navigator.geolocation.watchPosition(onSuccess, onError, { timeout: 30000 })
      

      2.It does not work on Windows Phone 8.1 - under debugger there is the following error

      // JavaScript runtime error: Operation aborted
      // You must set the MovementThreshold property or the ReportInterval property before adding event handlers.
      // WinRT information: You must set the MovementThreshold property or the ReportInterval property before adding event handlers
      

        Attachments

          Activity

            People

            • Assignee:
              sgrebnov Sergey Grebnov
              Reporter:
              sgrebnov Sergey Grebnov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: