Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70439

Accurate Position

$
0
0

I am using the Geolocation plugin in my application to get the user’s accurate location in both ANDROID and IOS platforms (using ionic).
On Android it’s working fine, whereas on IOS 13 it seems like the location is being cached for a long time, even if we request an update to the location, the service is returning the old site coordinates

Is it a bug? Or is there something we’re missing? Below is the code we’re using:

let geolocationOptions: GeolocationOptions = {
  maximumAge: 3000,
  enableHighAccuracy: false,
  timeout: 3000
};

this.geolocation.getCurrentPosition(geolocationOptions).then((position) => {
    //same coordinates every time
});

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>