Below is happenning with com.firebase:geofire-android:3.0.0 and com.firebase:geofire-android:3.2.0
val geoFire = GeoFire(db.child(dbref))
val geoLocation = GeoLocation(latitude, longitude)
val geoQuery: GeoQuery = geoFire.queryAtLocation(geoLocation, radius)
// above is not working. Through debug I've found that GeoFire is creating the wrong Geohash.
If I do val geoLocation = GeoLocation(latitude, longitude), then it works ok.
Of course, I have checked that what I'm passing is correct, i.e. the latitude is indeed the latitude & for longitude also.
Please investigate.
Below is happenning with com.firebase:geofire-android:3.0.0 and com.firebase:geofire-android:3.2.0
val geoFire = GeoFire(db.child(dbref)) val geoLocation = GeoLocation(latitude, longitude) val geoQuery: GeoQuery = geoFire.queryAtLocation(geoLocation, radius)
// above is not working. Through debug I've found that GeoFire is creating the wrong Geohash.
If I do val geoLocation = GeoLocation(latitude, longitude), then it works ok.
Of course, I have checked that what I'm passing is correct, i.e. the latitude is indeed the latitude & for longitude also. Please investigate.