transistorsoft / flutter_background_geolocation

Sophisticated, battery-conscious background-geolocation & geofencing with motion-detection
https://www.transistorsoft.com/shop/products/flutter-background-geolocation
Other
643 stars 237 forks source link

Tracking on ferry gives inaccurate and infrequent locations #1042

Closed suhairhassan closed 4 months ago

suhairhassan commented 1 year ago

Your Environment

Expected Behavior

Should track the exact locations when the ferry is moving.

Actual Behavior

Gives inaccurate locations and tracks occasionally only

Steps to Reproduce

This happens in smooth moving like in ferry, train, etc. Works perfectly in car.

Context

Track the locations when moving from one island to main land using Ferry

Debug logs

Logs ``` PASTE_YOUR_LOGS_ HERE ```

background-geolocation.log

IMG_3785 (1)

suhairhassan commented 1 year ago

The locations are received in Google map and in bg plugin when the app is in foreground and location events are listened or force started the bg plugin several times. The problem is bg plugin is started for sometimes and then it stops. Is there some methods through which we can force bg plugin to track the locations no matter the plugin has detected motion or not. For example, track my locations for the next 2 hours no matter what happens. The same issue is happening in train travel also.

christocracy commented 1 year ago

See #1043

christocracy commented 1 year ago

What range of timestamp are you interested in from logs?

suhairhassan commented 1 year ago

Unfortunately we dont have the data for the exact time stamps. It was overwritten in the client logs. Is there a method to force the tracking of bg plugin despite the motion change for a fixed duration, say 2 hours?

christocracy commented 1 year ago

Is there a method to force the tracking of bg plugin despite the motion change for a fixed duration, say 2 hours?

See API docs Config.stopTimeout.

github-actions[bot] commented 4 months ago

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

github-actions[bot] commented 4 months ago

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