transistorsoft / flutter_background_geolocation

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

Automatically turn stationary state when the application has just been closed #1375

Closed kukareku0307 closed 2 weeks ago

kukareku0307 commented 3 weeks ago

Hello, I've been using your plugin for six months now, it's wonderful, thank you. The problem is that when the application goes to the terminated state, the plugin seems to automatically change pace to false and sets the stationary radius, even if at the time of closing the application the person was moving and there was a moving state. How can I disable this property, or how can I beat it?

Your Environment

Expected Behavior

When you close the application, if the plugin is in the moving state, then it should stay in it.

Actual Behavior

When you close the application, if the plugin is in the moving state, it going automatically to stationary.

Steps to Reproduce

1. 2. 3. 4.

Context

Debug logs

Logs ``` PASTE_YOUR_LOGS_HERE ```
christocracy commented 2 weeks ago

It is crucial for the plug-in to do that at terminate since it allows the plug-in to be re-launched automatically by the os once the device moves about 200 meters after terminate.

when an iOS app is terminated, the OS completely removes your app from memory. It does not continue to operate “headless”, like Android.

kukareku0307 commented 2 weeks ago

It is crucial for the plug-in to do that at terminate since it allows the plug-in to be re-launched automatically by the os once the device moves about 200 meters after terminate.

when an iOS app is terminated, the OS completely removes your app from memory. It does not continue to operate “headless”, like Android.

Thanks)