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 info (flutter doctor):
[!] Flutter (Channel [user-branch], 3.22.0, on macOS 13.6.9 22G830 darwin-x64, locale en-GB)
! Flutter version 3.22.0 on channel [user-branch] at /Users/naeemtariq/Desktop/Developer/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/docs/get-started/install.
! 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 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.64.2)
[✓] VS Code (version 1.94.0)
[✓] Connected device (1 available)
[✓] Network resources
Plugin should post the accurate location on server.
Actual Behavior
Sometimes, it sends the correct location. However, within the next minute, it updates a location that is several kilometers away from the actual position. This behavior is causing inconsistencies in the location data we store.
Context
We are updating drivers' locations to our server. Based on these locations, we need to draw a route on the map. However, while the plugin updates the locations correctly, it sometimes starts sending inaccurate, far-off locations.
Debug logs
Logs
PASTE_YOUR_LOGS_HERE
The text was updated successfully, but these errors were encountered:
The plugin does not manufacture location data. It receives the best available location provided by the native Location API at that time, in the current environment.
Yes, sometimes a poor location can be provided by the native location API.
Location accuracy is affected by physical obstructions and GPS works only while outdoors. While indoors, the location will come from Wifi / Cellular.
You are expected to filter your own data (see location.coords.accuracy).
Your Environment
Plugin version: flutter_background_geolocation: ^4.16.3
Platform: iOS or Android : IOS
OS version: 18
Device manufacturer / model: Apple
Flutter info (
flutter doctor
):[!] Flutter (Channel [user-branch], 3.22.0, on macOS 13.6.9 22G830 darwin-x64, locale en-GB)
! Flutter version 3.22.0 on channel [user-branch] at /Users/naeemtariq/Desktop/Developer/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/docs/get-started/install.
! 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 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.64.2)
[✓] VS Code (version 1.94.0)
[✓] Connected device (1 available)
[✓] Network resources
Plugin config:
Expected Behavior
Plugin should post the accurate location on server.
Actual Behavior
Sometimes, it sends the correct location. However, within the next minute, it updates a location that is several kilometers away from the actual position. This behavior is causing inconsistencies in the location data we store.
Context
We are updating drivers' locations to our server. Based on these locations, we need to draw a route on the map. However, while the plugin updates the locations correctly, it sometimes starts sending inaccurate, far-off locations.
Debug logs
Logs
The text was updated successfully, but these errors were encountered: