Will Firebase Realtime Database Geofire be available for Flutter in the future?

507 views
Skip to first unread message

Edoardo de Cal

unread,
Oct 25, 2021, 9:30:41 PM10/25/21
to Firebase Google Group

I am trying to create an app that queries locations from Firebase Realtime Database.

Searching on the internet I came across this service (GeoFlutterFire) which allows you to store and query a set of keys based on their geographic location. I read it works with Firebase Firestore Database, not with Firebase Realtime Database.

Why is not GeoFire available per Firebase Realtime? Will it be available in the future? is it because Realtime Database is deprecated?

I am asking this because I built an iOS app, now I want to learn Flutter and create an Android version of this app, I want them to share the same database (Firebase Realtime Database).

Thanks

Frank van Puffelen

unread,
Oct 25, 2021, 9:37:32 PM10/25/21
to Firebase Google Group
Hey there, 👋

Firebase delivers GeoFire libraries for Android, iOS, and Web apps for Realtime Database, and documentation on how to adding geoqueries to apps on those platform that use Firestore. 

There is no 1st party library from Firebase for Flutter for either of the databases, but 3rd party libraries exist for both. A quick search shows a few options, like https://pub.dev/packages/flutter_geofire, so you might want to check those out.

    puf
Reply all
Reply to author
Forward
0 new messages