Open Gonn01 opened 2 months ago
Please check the following before submitting a new issue.
- [x] I have searched the existing issues.
- [x] I have carefully read the documentation.
Please select for which platform(s) you need help
- [x] Android
- [ ] iOS
- [ ] Linux
- [ ] macOS
- [ ] Web
- [ ] Windows
Your question
I'm developing a Flutter application to track the user's location every 30 seconds and generate a route.
I've encountered an issue where the package occasionally records GPS coordinates that are significantly far from the device's actual location, causing unexpected deviations in the generated route. These inaccurate readings seem to occur randomly and then correct themselves after a short period.
final LocationSettings locationSettings = AndroidSettings( intervalDuration: const Duration(seconds: 30), accuracy: LocationAccuracy.bestForNavigation, foregroundNotificationConfig: const ForegroundNotificationConfig( // Explain to the user why we are showing this notification. notificationText: 'App will continue to receive your location even when you arent' ' using it', // Tell the user what we are doing. notificationTitle: 'Running in Background', // Give the notification an amber color. color: Colors.amber, setOngoing: true, ), ); Geolocator.getPositionStream(locationSettings: locationSettings).listen( (Position position) async { await BackGpsRepository().checkAndSend(position); }, );
Expected Behavior: The package should consistently provide accurate GPS coordinates, allowing for the generation of a smooth and realistic route.
Actual Behavior: The package intermittently records GPS coordinates that are significantly off, resulting in a distorted route with unexpected jumps.
Additional Information:
Package Version: 13.0.1 Flutter Version: 3.22.3 Affected Devices: g54 Motorola Operating Systems: Android Permissions in AndroidManifest:
In this case i stay on the same position and randomly throw a position far away and comeback later.
Version
13.0.1
Any answers? To solve it , I got the same issue
Please check the following before submitting a new issue.
- [x] I have searched the existing issues.
- [x] I have carefully read the documentation.
Please select for which platform(s) you need help
- [x] Android
- [ ] iOS
- [ ] Linux
- [ ] macOS
- [ ] Web
- [ ] Windows
Your question
I'm developing a Flutter application to track the user's location every 30 seconds and generate a route. I've encountered an issue where the package occasionally records GPS coordinates that are significantly far from the device's actual location, causing unexpected deviations in the generated route. These inaccurate readings seem to occur randomly and then correct themselves after a short period.
final LocationSettings locationSettings = AndroidSettings( intervalDuration: const Duration(seconds: 30), accuracy: LocationAccuracy.bestForNavigation, foregroundNotificationConfig: const ForegroundNotificationConfig( // Explain to the user why we are showing this notification. notificationText: 'App will continue to receive your location even when you arent' ' using it', // Tell the user what we are doing. notificationTitle: 'Running in Background', // Give the notification an amber color. color: Colors.amber, setOngoing: true, ), ); Geolocator.getPositionStream(locationSettings: locationSettings).listen( (Position position) async { await BackGpsRepository().checkAndSend(position); }, );
Expected Behavior: The package should consistently provide accurate GPS coordinates, allowing for the generation of a smooth and realistic route. Actual Behavior: The package intermittently records GPS coordinates that are significantly off, resulting in a distorted route with unexpected jumps. Additional Information: Package Version: 13.0.1 Flutter Version: 3.22.3 Affected Devices: g54 Motorola Operating Systems: Android Permissions in AndroidManifest: In this case i stay on the same position and randomly throw a position far away and comeback later.
Version
13.0.1
Any answers? To solve it , I got the same issue
I think is something with the battery optimization of the device but im not sure
Any answers? To solve it, the same issue occurred in my application while using map navigation.
I got same issue, plz help
are you guys also using mapbox?
are you guys also using mapbox?
Yes ,
Please check the following before submitting a new issue.
Please select for which platform(s) you need help
Your question
I'm developing a Flutter application to track the user's location every 30 seconds and generate a route.
I've encountered an issue where the package occasionally records GPS coordinates that are significantly far from the device's actual location, causing unexpected deviations in the generated route. These inaccurate readings seem to occur randomly and then correct themselves after a short period.
Expected Behavior: The package should consistently provide accurate GPS coordinates, allowing for the generation of a smooth and realistic route.
Actual Behavior: The package intermittently records GPS coordinates that are significantly off, resulting in a distorted route with unexpected jumps.
Additional Information:
Package Version: 13.0.1 Flutter Version: 3.22.3 Affected Devices: g54 Motorola Operating Systems: Android Permissions in AndroidManifest:
In this case i stay on the same position and randomly throw a position far away and comeback later.
Version
13.0.1