Closed svanhoof closed 1 day ago
See api docs Config.stopTimeout and event .onMotionChange
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Your Environment
flutter doctor
): Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.22631.4249], locale nl-NL) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.2) [√] Chrome - develop for the web [!] Android Studio (version 2023.3) X Unable to determine bundled Java version. [√] Android Studio (version 2024.1) [√] VS Code (version 1.93.1) [√] Connected device (2 available) [√] Network resources! Doctor found issues in 1 category.
Expected Behavior
For the application we are building we are mainly interested in the stop locations (and we want to know the device is actually stopped). We don't care too much about points recorded while the phone is moving. Ideally a stop is defined as having no motion (accelerometer driven) for a configurable seconds.
Actual Behavior
With the configuration above we do get all 'relevant' location points. When driving we do get correctly the last location point of the trip, however when cannot always reliably figure out that this is a stop. Our current logic is to look at a location of speed/activity/moving flag. However on this last location point:
Steps to Reproduce
At this moment just a behavioral question
Context
Debug logs
Logs
``` PASTE_YOUR_LOGS_HERE ```