mysociety / fixmystreet-mobile

Cordova application for making reports to FixMyStreet
Other
49 stars 48 forks source link

Location detection far from actual location #310

Open neprune opened 1 year ago

neprune commented 1 year ago

From user support, user is seeing location detection point to home address even when a mile away. Not a problem pre PWA. Location detection accuracy is fine in other maps e.g. Google Maps and OS Maps.

Platform: Android Device: SM-A336B App Version: 3.0.1

neprune commented 1 year ago

~Possible Android is returning a cached location. Could potentially set the maximumAge parameter in getCurrentPosition call to force a fresher lookup (docs).~

Default maximumAge value is already 0.