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
$ flutter doctor 11:46:11
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.27.4, on macOS 15.3.1 24D70 darwin-arm64, locale en-GB)
! Flutter version 3.27.4 on channel [user-branch] at /Users/muammar/Development/flutter
Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup. ! Upstream repository unknown source is not a standard remote. Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)[✓] Xcode - develop for iOS and macOS (Xcode 16.2)[✓] Chrome - develop for the web[✓] Android Studio (version 2024.2)[✓] VS Code (version 1.96.2)[✓] VS Code (version 1.99.0-insider)[✓] Connected device (4 available)[✓] Network resources
Mobile operating-system(s)
iOS
Android
Device Manufacturer(s) and Model(s)
SM-A525F
Device operating-systems(s)
Android 13
What happened?
Geolocation tracking turned-on twice and was sending coordinates twice to the server
Plugin Code and/or Config
It seems that there was a race condition and background geolocation start was called twice. At the same time our code looks as follows:
Future<void> start() async {
final state =awaitBackgroundGeolocation.state;
if (state.enabled) {
return;
}
awaitBackgroundGeolocation.start();
}
Then one stream collecting background geolocation was actively sending everything to the server, the other one simply collected and saved to the local database. At some point the collecting stream started sending the data to the server and data duplication finished. It seems like a weird situation
Relevant log output
The text was updated successfully, but these errors were encountered:
Required Reading
Plugin Version
4.16.9
Flutter Doctor
Mobile operating-system(s)
Device Manufacturer(s) and Model(s)
SM-A525F
Device operating-systems(s)
Android 13
What happened?
Geolocation tracking turned-on twice and was sending coordinates twice to the server
Plugin Code and/or Config
It seems that there was a race condition and background geolocation start was called twice. At the same time our code looks as follows:
Then one stream collecting background geolocation was actively sending everything to the server, the other one simply collected and saved to the local database. At some point the
collecting
stream started sending the data to the server and data duplication finished. It seems like a weird situationRelevant log output
The text was updated successfully, but these errors were encountered: