transistorsoft / react-native-background-geolocation

Sophisticated, battery-conscious background-geolocation with motion-detection
http://shop.transistorsoft.com/pages/react-native-background-geolocation
MIT License
2.63k stars 425 forks source link

Getting Location update from terminated state after 2000 meters in IOS #2174

Open alihasan21987 opened 2 hours ago

alihasan21987 commented 2 hours ago

Your Environment

Expected Behaviour

It should give location update after 200 meters when app is in terminated State.

Actual Behaviour

It is giving location update after 2000 meters when app is in terminated State.

Steps to Reproduce

1.Install App with above Plugin Config. 2.Move App to terminated State & start on route with device. 3.It will give location update after about 2000 meters.

Logs [background-geolocation (21).log](https://github.com/user-attachments/files/17377677/background-geolocation.21.log)
christocracy commented 2 hours ago

It will give location update after about 2000 meters.

200 meters is typical, not a guarantee. The plug-in has no control over this. It depends upon the environment; the presence of wifi signals and distance between cell towers.

if it works, it works.