Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waitNextLocation default is 2 causing emulator not getting location after permission and also on use of WIFI #993

Open
itaistreet opened this issue Sep 11, 2024 · 0 comments

Comments

@itaistreet
Copy link

The Bug:
On ios, after giving location permission the didUpdateLocations returns and no location is going to flutter's listener.
I understand the logic why setting the default to 2, since you dont want old locations to be streaming to flutter, but you have a timestamp on the location and its better the developer decides what to do with old locations.

On emulators there are no updates to location, since its a fixed location, and also in wifi network the gps location update can take time to occur, so i ended up waiting for about 10 seconds for real iphone to get location, and inifnite time on the emulator.

I think the defaul should be 0 , and also when you stoplistening set it to 0.

Expected behavior
Getting Location

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant