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