react-native-geolocation icon indicating copy to clipboard operation
react-native-geolocation copied to clipboard

WatchPosition alway return same value when using Wi-fi

Open GaetanFauconnier85 opened this issue 2 years ago • 3 comments

When I use watchPosition with wi-fi, the latitude and longitude are always the same even with enableHighAccuracy: false. But when I use the mobile data the position change correctly.

Is this the normal behaviour ?

GaetanFauconnier85 avatar Jul 18 '23 08:07 GaetanFauconnier85

I think it should use WiFi location as a fallback option. Could you share more details? Does it happen on iOS, Android or both? Which version are you using?

michalchudziak avatar Jul 21 '23 11:07 michalchudziak

@michalchudziak See newer issues aswell, but when using enableHighAccuracy: true, it does not fall back to wi-fi (COARSE_LOCATION).

To test it, be somewhere with no gps and then start the app with enableHighAccuracy: true. The watcher will fail and not respond until you are somewhere with a GPS signal.

Magnus-V avatar Oct 16 '23 11:10 Magnus-V