DarshanGowda0 / GeoFlutterFire

:fire:GeoFlutterFire:fire: is an open-source library that allows you to store and query firestore documents based on their geographic location.
https://youtu.be/MYHVyl-juUk
MIT License
305 stars 261 forks source link

Queries (.within stream) extremely slow on iOS #85

Open mmsergi opened 4 years ago

mmsergi commented 4 years ago

I replicated the example of Geoflutterfire on Android and iOS. Im doing the same query, same code and on Android goes well and fast, on iOS the results of the query come extremely late.

Any ideas or tips?

racacere commented 4 years ago

I have the same problem, in IOS 12 the listeners works very well (Iphone 6), but in two devices with IOS 13 (Iphone 7 and Iphone X), some times the queries are slow and sometimes are acceptable.

I tried with full battery and good wifi connection but the problem persists. Maybe there are a problem with IOS 13 and this library but I don't have more devices to test.

piotrszych commented 4 years ago

I've got the same problem. Tried to fetch records within range and it works well on Android, but on iPhone emulator with 13.4 it loads forever.

flutterfrank commented 4 years ago

Geolocator caused the problem. 4.0.3 is working...

pumuckelo commented 3 years ago

Yep, geolocator is the problem...