react-native-background-geolocation
react-native-background-geolocation copied to clipboard
Tracking points jump far from device's real location


As seen in the images above, tracking sometimes jumps to points far from the device's real position.
Environment
- Plugin version: 3.0.9
- Platform: Android
- OS version: 9
- Device manufacturer / model: Google Pixel 3
- React Native version: 0.59.9
- Plugin config
BackgroundGeolocation.ready({
stopOnTerminate: false,
startOnBoot: true,
forceReloadOnBoot:true,
foregroundService:true,
preventSuspend:true,
allowIdenticalLocations:true,
elasticityMultiplier:2,
heartbeatInterval:300,
}
Expected Behavior
Reported tracking points should not jump far away from the device's real location
Actual Behavior
Sometimes tracking points jump far from the device's real location.
Steps to Reproduce
- Walk around town
- Pass wifi hotspots (?)
Glitches do happen depending upon the environment. The plugin is only the messenger, delivering locations as reported by the native device api.
You will likely find evidence of these glitches in the location.accuracy. Your server can choose to filter these as desired.
Appreciate it! Thanks