I have my data for posts structured like this in Firebase Realtime Database:
posts:
key1:
author: Jake
location:
g: xxxx
0: yyyy
1: yyyy
key2:
author: Daniel
location:
g: xxxx
0: yyyy
1: yyyy
How can I use GeoFire to query my database to find only the posts within a specified radius of me? Is there a way of changing the .indexOn rules in the database to perform this?
Thanks in advance