fluttercommunity / firestore_helpers

Firestore Helpers - Firestore helper function to create dynamic and location based queries. Maintainer: @escamoteur
https://pub.dev/packages/firestore_helpers
MIT License
48 stars 19 forks source link

The library works with GeoHash ? #28

Closed s3bok closed 2 years ago

s3bok commented 4 years ago

Hi I'm searching a solution to do a Query of Stores nearly by User position, i tested a library GeoFlutterFire, but i can't add more conditions for example, type's store, name's store, etc. the library don't works, and i found your response in StackOverFlow Your Response

I'm reading the information about firestorehelpers, it says "DISCLAIMER: As some users pointed out, FireStore does not correctly compare GeoPoints at this time which lead to more data might be returned from the server than the server-side query intended. " My Question is, if the library can help me ?

aasmoth commented 2 years ago

Hi, I'm using GeoFlutterFire that works fine but even with its 3.0 version, it's impossible to upgrade firestores packages. Is Firestore_helpers working correctly with GeoPoint sorting ? What is behind this DISCLAIMER ? Thanks

escamoteur commented 2 years ago

Actually, I haven't worked with Firestore for a long time. So I can't say if they fixed the GeoPoint Sorting. You always can add an additional client-side filter.