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

on IOS device Corodova Geolocation GetWatchPosition not giving current location

    XMLWordPrintableJSON

    Details

    • Flags:
      Patch, Important

      Description

      Feature: We have created a Mobile App using PhoneGap and Corodova Plugin to get a constantly moving user's current location. As soon as he stops, he will perform an action in our App which will send his current location and we convert it into Address using reverse geocoding. We then show the history of user's visits.

      We are using GetWatchPosition and GetCurrentLocation to implement above feature.

      Issue: We are not getting user's current Latitude and Longitude rather we get their last Latitude and Longitude where he last visited. Hence user's visits is wrongly registered based on where he was at that point of time. Somewhere the API is not sending us the latest Latitude and Longitude.

      Above is working fine in Android and we are getting updated Latitude and Longitude

      Please help!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anshu.raj90 Anshu Raj
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: