You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I try to fetch this location with this code the query didn't return any value
let center = CLLocation(latitude: 31.97375, longitude: 35.872316)
if let circleQuery = geoFire?.query(at: center, withRadius: 1.0) {
_ = circleQuery.observe(.keyEntered) { (key, location) in
print("Key '\(key)' entered the search area and is at location '\(location)'")
}
circleQuery.observeReady{
print("All initial data has been loaded and events have been fired for circle query!")
}
}
but if I try to use the same code and just change the CLLocation with
let center = CLLocation(latitude: 37.7832889, longitude: -122.4056973)
it's return data.
please advice me where's the problem??
The text was updated successfully, but these errors were encountered:
I have a list of stores as below:
when I try to fetch this location with this code the query didn't return any value
but if I try to use the same code and just change the CLLocation with
let center = CLLocation(latitude: 37.7832889, longitude: -122.4056973)
it's return data.
please advice me where's the problem??
The text was updated successfully, but these errors were encountered: