Get Data From Firebase When Within Distance
I want to : GET data (=previous chat messages) from Firebase when entering 300m of a chatroom geolocation. My Code : Here is my basic Firebase chat function : var myDataRef = new
Solution 1:
Take a look at GeoFire, a library built on top of Firebase that lets you perform GeoQueries such as these: https://www.firebase.com/blog/2013-09-25-location-queries-geofire.html
Post a Comment for "Get Data From Firebase When Within Distance"