Using GeoFire and Geofence together

994 views
Skip to first unread message

Brian Jenkins

unread,
Dec 5, 2016, 10:24:02 AM12/5/16
to Firebase Google Group
We are looking at adding geofencing capabilities to our app. We're already using Firebase and GeoFire and was wondering what features, if any, the Geofence API (https://developers.google.com/android/reference/com/google/android/gms/location/Geofence) offers above what can be done directly with GeoFire. It seems that for Geofencing to work, we'd need a way to retrieve set of geofence locations appropriate for user's current location.

It does also seem that there might be scenario where these 2 APIs would be used together i.e. use GeoFire to provide the set of geofence locations (using say radius of 10km)....and then Geofence API would notify when user is within say 100m of one of those locations. The question then is how best to "refresh" set of configured geofences as user's location changes.

Any advice about the ability to use GeoFire and Geofence in combination with each other?

Frank van Puffelen

unread,
Dec 5, 2016, 10:25:11 AM12/5/16
to Firebase Google Group
Also posted on http://stackoverflow.com/questions/40974936/firebase-geofire-vs-geofence-api, but it might be a better fit here.
Reply all
Reply to author
Forward
0 new messages