You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device manufacturer / model: OnePlus Nord CE 2 Lite (CPH2381)
Flutter info (flutter doctor):
Plugin config:
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.22631.4602], locale en-IN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2019 16.11.20)
[√] Android Studio (version 2021.3)
[√] Android Studio (version 2022.2)
[√] VS Code (version 1.96.2)
[√] Connected device (4 available)
[√] Network resources
If you’re not using geofences (and monitoring < 100 geofences), this option is not used. 100 is also in invalid value, as the plug-in imposes a minimum value of 1000.
Is it possible for the tracking process to stop or terminate if the app is in use in the foreground and performing other operations? The tracking works fine when the app is in the background or terminated state, but not when it is active in the foreground. ??
Is it possible for the tracking process to stop or terminate if the app is in use in the foreground and performing other operations?
Not automatically, no. The plugin doesn't care if your app is in the foreground or background. It does not change its behaviour on app state. It only cares if the device moving or stationary.
Your Environment
flutter doctor
):flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.22631.4602], locale en-IN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2019 16.11.20)
[√] Android Studio (version 2021.3)
[√] Android Studio (version 2022.2)
[√] VS Code (version 1.96.2)
[√] Connected device (4 available)
[√] Network resources
Expected Behavior
Location tracking should work consistently, regardless of whether the app is in the foreground or background.
Actual Behavior
Location tracking stops when the app is in the foreground and actively in use. No logs or location data are generated during this time.
Steps to Reproduce
Context
Trying to track real-time locations reliably for an active user.
Debug logs
Logs
The text was updated successfully, but these errors were encountered: