firebase / geofire-android

GeoFire for Android apps
Apache License 2.0
133 stars 36 forks source link

GeoQuery could't fetch all user id in nearby location from a location with certain radius. #4

Closed bitactro closed 4 years ago

bitactro commented 4 years ago

This is no proper documentation about what and how actually onKeyEntered() function works in geoQuery works.. Like I am trying to store all userID's which is a key in geofire but I am only getting one userID and that is the last userID present in GeoFire.

I am looking for more detailed document on how to use GeoQuery..

samtstern commented 4 years ago

@bitactro there is quite a bit of documentation for onKeyEntered: https://github.com/firebase/geofire-android#receiving-events-for-geo-queries

You should expect to see onKeyEntered fired once for each matching result and then when all of the results are done you should see onGeoQueryReady fire.

If that's not happening for you, please show a minimal example to help us reproduce this bug.

bitactro commented 4 years ago

yes correct.. thanks.. It is working good.

On Wed, Aug 5, 2020 at 6:27 PM Sam Stern notifications@github.com wrote:

@bitactro https://github.com/bitactro there is quite a bit of documentation for onKeyEntered:

https://github.com/firebase/geofire-android#receiving-events-for-geo-queries

You should expect to see onKeyEntered fired once for each matching result and then when all of the results are done you should see onGeoQueryReady fire.

If that's not happening for you, please show a minimal example to help us reproduce this bug.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/firebase/geofire-android/issues/4#issuecomment-669177213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQ3ESPPFVBPW6JV2CIDW3LR7FJKHANCNFSM4PKG3RBA .