This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 271
Max radius for queryAtLocation() #72
Labels
Milestone
Comments
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 |
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: firebase/geofire-objc#64 |
This issue was fixed and released in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: