Here's the documentation that should explain how parameters work:
https://github.com/transistorsoft/flutter_background_geolocation/wiki/Philosophy-of-Operation
https://pub.dev/documentation/flutter_background_geolocation/latest/flt_background_geolocation/Config-class.html
Ok, please correct me if I am wrong.
Starting with the easier one, stop detection. It means that if for example distance is set to 100 meters and the user moves 100 meters the app will detect there is movement and if accuracy is set to high, gps will remain in use until traccar detects no more movement in x predefined seconds and from here if "stop detection" is enabled all what it does is that it checks if there is no more movement after x seconds (defined somewhere) it stops using the gps and enters kind of a dormant state waiting for movement again to fire the gps. Aka it stops using gps after x seconds with no movement.
And regarding the "disable elasticity" if the distance is set to 100 meters and "disable elasticity" is turned on , then the distance will have no effect on the location updates? And it is purely decided by the captured movement speed and the elasticity multiplier ( set somewhere inaccessible to the user in traccar) aka the slower the movement is the lower the distance the app decides to use to send an update ?
And if the "disable elasticity" is turned on that multiplier logic is disabled and the app will decide when to send a location update based on the distance the user defined in traccar?
Is that correct?
If stop detection is enabled (default), it will follow the first documentation. If it's disabled, it should never go into stationary mode.
For elasticity read this:
Would you please explain what the new options in the new app do?
For example
In the old app for example, when setting location accuracy to high, the app will keep gps enabled and update the location once device moves x meters or x seconds passed.
The new app with location accuracy set to high, gps is used for about 5 seconds then it is no longer used , is it just because device is stationary?
An explanation to how the options in the new app work will be really helpful
Also what does the heartbeat option does?
Is there a way to update the location once every x seconds even if the device isn't moving or that is gone ?
What does "stop detection" option do?
What is the "disable elasticity" option do ?
Did I say thanks for creating an awesome app btw :) .