-
-
Notifications
You must be signed in to change notification settings - Fork 732
Open
Description
Please check the following before submitting a new issue.
- I have searched the existing issues.
- I have carefully read the documentation and verified I have added the required platform specific configuration.
Please select affected platform(s)
- Android
- iOS
- Linux
- macOS
- Web
- Windows
Steps to reproduce
Listen to location update with the default distanceFilter
(i.e. 0)
Do not move the device (so the gpx coordinates doesn't change). You either need very good gps singnal or just use a simulator and set the location to a fix point.
Expected results
On both devices, we should be able to get continuous location updates.
Actual results
Only get this on Android, and on iOS you only get the first update.
I believe on iOS, distanceFilter = 0 actually means filtering out fix points.
Passing distanceFilter = -1 to iOS will get the same beahvior as Andorid with distanceFilter = 0.
Also one cannot pass distanceFilter = -1 on android becuase it will raise.
Code sample
Just using the example and set the distanceFilter
.
Screenshots or video
No response
Version
14.0.2
Flutter Doctor output
Doctor output
I don't think this is related.
Metadata
Metadata
Assignees
Labels
No labels