Closed brendanosborne closed 6 years ago
I'm having the same problem
I opened a PR to check this, @theonlynick0430 can you look at it when you get a chance?
Hey guys, thanks so much; sorry, that's our bad!
On Tue, Aug 28, 2018 at 12:56 PM Cameron Mace notifications@github.com wrote:
I opened a PR to check this, @theonlynick0430 https://github.com/theonlynick0430 can you look at it when you get a chance?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/imperiumlabs/GeoFirestore-Android/issues/4#issuecomment-416719622, or mute the thread https://github.com/notifications/unsubscribe-auth/ARQ5aOHbVVLPyFzsbbUPavG7ThoYZGb1ks5uVaCKgaJpZM4WG3w- .
@dhruvshah1214 how can I get the fix? The version still seems to be 1.1.1 ?
@dhruvshah1214 Any news on a new version with this fix included? It seems to have been fixed but is not released.
Still getting this error settings the center and the radius.
Edit: The library obtained via gradle have the setters for radius and center, but they didn't work; however if you clone this repo and make your own .aar file it works.
Hi Guys, I can't work this one out...
This works okay if the lat and lng don't change:
geoQuery?.center = newLatLng
If the lat and lng are different I am getting this error:
java.lang.NullPointerException: Attempt to read from field 'com.google.firebase.firestore.ListenerRegistration org.imperiumlabs.geofirestore.GeoQuery$GeoHashQueryListener.childAddedListener' on a null object reference
It looks like in GeoQuery.class > setupQueries() the handle is not being returned successfully from the handles HashMap: