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

Tracking points jump far from device's real location

Open plell opened this issue 7 years ago • 3 comments

image

image

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

  1. Walk around town
  2. Pass wifi hotspots (?)

plell avatar Aug 22 '19 17:08 plell

Glitches do happen depending upon the environment. The plugin is only the messenger, delivering locations as reported by the native device api.

christocracy avatar Aug 22 '19 17:08 christocracy

You will likely find evidence of these glitches in the location.accuracy. Your server can choose to filter these as desired.

christocracy avatar Aug 22 '19 17:08 christocracy

Appreciate it! Thanks

plell avatar Aug 22 '19 17:08 plell