Closed m6s closed 6 years ago
Facing the same issue.
Let's go and throw an error when the passed radius is too big too handle?
@vanniktech that's a great idea, or at least a sternly-worded Log
message.
Another possible solution is to max it internally and state in the javadoc that we'll not go higher than 8589.
Which one should we go for?
@vanniktech I think that's least harmful, and we can still do big warnings in the log whenever we get a bigger radius.
I'll do this tomorrow then.
This sounds like a different bug if 8589km is working for a few people, but just incase the cause is linked and ye haven't seen this on the objective-c project: https://github.com/firebase/geofire-objc/issues/64
This issue was fixed and released in v2.2.0
.
Through trial and error I've found that the max radius for which query results are returned is about 8587km. For bigger radiuses, onKeyEntered() is never called. Is that a bug? If not, how would I go about querying locations that are further apart? I'm using GeoFire 2.1.1 on Android.