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

User's current location is not correct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None

    Description

      We are using https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-geolocation/ in our app. We are getting the user's current position using navigator.geolocation.getCurrentPosition and we are getting the correct location. 

      Then we are using navigator.geolocation.watchPosition to get the user's updated location which is also working well mostly.

      Here is the issue - When the phone is not moving - we are getting different co-ordinates which are up to 500 meters away from the actual user location.

      If needed, I can share screenshots and code. Do let me know.

      Attachments

        Activity

          People

            Unassigned Unassigned
            deligence Sanjay Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: