transistorsoft / cordova-background-geolocation-lt

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.
http://www.transistorsoft.com/shop/products/cordova-background-geolocation
Other
656 stars 277 forks source link

Distance is not coming as per actual distance travelled. #1426

Closed vgirik closed 6 days ago

vgirik commented 6 months ago

Your Environment

// BackgroundGeolocation Plugin configuration BackgroundGeolocation.ready( { reset: true, // debug: true, logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE, desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH, //autoSync: true, stopOnTerminate: false, allowIdenticalLocations: false, persistMode: BackgroundGeolocation.PERSIST_MODE_LOCATION, }, (state) => { console.log('[ready] BackgroundGeolocation is ready to use'); if (!state.enabled) { BackgroundGeolocation.start(); } } ); }

Expected Behavior

Actual KMS : 5 KM

Actual Behavior

In one trip it came 58 kms In another trip it came 20 Kms

Steps to Reproduce

1. 2. 3. 4.

Context

Debug logs

Logs ``` PASTE_YOUR_LOGS_HERE ```
christocracy commented 6 months ago

Please learn to Syntax highlight codeblocks.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 6 days ago

This issue was closed because it has been inactive for 14 days since being marked as stale.