I want to create an application that tracks childs location through firebase and implement geofence on that location. How do i initiate GeofenceClient with that location from firebase instead of my own location?
I have created an app that is fetching location from database of other user which is in latitude and logitude and can be converted to latlng datatype. I have also created feature of geofencing but heres the problem : This geofence check my location for geofence(i suppose this is happening because i have intiated geofence Client as //geofencingClient = LocationServices.getGeofencingClient(this);)
What should i do to pass the location of other user that i fetched from firebase in form of latitude and longitude in this geofencingClient.