cordova-plugin-geolocation icon indicating copy to clipboard operation
cordova-plugin-geolocation copied to clipboard

Ionic 3 getCurrentPosition getting wrong coords and timestamp on Android 8

Open Greatstart opened this issue 6 years ago • 1 comments

Bug Report

Problem

when using getCurrentPosition, it getting wrong coords and timestamp. The timestamp return is one week ago.

Environment, Platform, Device

It happens on Android 8

Greatstart avatar Oct 14 '19 03:10 Greatstart

When this occurs, does it also have a high ( >30) accuracy value? These could be erroneous GPS events that come from the GPS receiver itself, which usually happens when the GPS receiver "wakes up". In these cases, it's usually expected the developer to listen and filter the GPS that doesn't make sense based on their application.

Additionally, this may occur if you use the maximumAge option as that will return cached GPS points, however you'll need a really high value to get a GPS point a week old...

breautek avatar Mar 11 '20 23:03 breautek

Closing as stale.

breautek avatar Jun 05 '23 01:06 breautek