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

geolocation watchPosition doesn't return watchID string

    XMLWordPrintableJSON

Details

    Description

      With the new version of the geolocation plugin (r1.0.1 2.0.0) when calling watchPosition no watchID is returned as a string. only undefined is returned.
      This makes it impossible to call clearWatch as we don't have the watchID to use in the clearWatch call.
      I rolled back to version r1.0.0 r1.0.1 and it works properly.

      ~edit
      The issue is actually with the master branch (version 2.0.0)

      Attachments

        Activity

          People

            Unassigned Unassigned
            Slavrix Nicholas Tsaoucis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: