{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/geofire-objc/issues/56","repository_url":"https://api.github.com/repos/firebase/geofire-objc","labels_url":"https://api.github.com/repos/firebase/geofire-objc/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/firebase/geofire-objc/issues/56/comments","events_url":"https://api.github.com/repos/firebase/geofire-objc/issues/56/events","html_url":"https://github.com/firebase/geofire-objc/issues/56","id":165055633,"number":56,"title":"Updating center & radius in GFCircleQuery doesn't do anything","user":{"login":"lgaryfallos","id":5549654,"avatar_url":"https://avatars.githubusercontent.com/u/5549654?v=3","gravatar_id":"","url":"https://api.github.com/users/lgaryfallos","html_url":"https://github.com/lgaryfallos","followers_url":"https://api.github.com/users/lgaryfallos/followers","following_url":"https://api.github.com/users/lgaryfallos/following{/other_user}","gists_url":"https://api.github.com/users/lgaryfallos/gists{/gist_id}","starred_url":"https://api.github.com/users/lgaryfallos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgaryfallos/subscriptions","organizations_url":"https://api.github.com/users/lgaryfallos/orgs","repos_url":"https://api.github.com/users/lgaryfallos/repos","events_url":"https://api.github.com/users/lgaryfallos/events{/privacy}","received_events_url":"https://api.github.com/users/lgaryfallos/received_events","type":"User","site_admin":false},"labels":[{"id":112393779,"url":"https://api.github.com/repos/firebase/geofire-objc/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-07-12T11:25:26Z","updated_at":"2016-12-21T16:15:33Z","closed_at":"2016-07-18T08:20:25Z","body":"Hi,\n\nI setup my circle query like so\n`circleQuery = geoFire.queryAtLocation(currentLocation, withRadius: radius)`\n\nThen on a location listener I change the center:\n`circleQuery.center = currentLocation`\n\nAnd when the user changes the query radius:\n`circleQuery.radius = newRadius`\n\nMy problem is that, I never get keyEntered or keyExited events when I change the radius.\nIf I kill the app and restart it, the keyEntered events get fired since the radius is stored in user defaults, so the next time circleQuery is created it gets the new value.\n\nI declare these\n\n```\nlet geoFire = GeoFire(firebaseRef: ref.child(\"locs\"))  \nvar circleQuery: GFCircleQuery!\n\n```\n\nI'm starting the circle query:\n\n```\nLocationManager.shared.observeLocations(.Block, frequency: .OneShot, onSuccess: { location in\n        currentLocation = location\n        if circleQuery != nil {\n            circleQuery.radius = radius\n            circleQuery.center = currentLocation\n            debugPrint(\"got ONESHOT location and UPDATING query objects\")\n        } else {\n            debugPrint(\"got ONESHOT location and --CREATING-- query objects\")\n            circleQuery = geoFire.queryAtLocation(currentLocation, withRadius: radius) \n        }\n    }) { error in\n        debugPrint(error.description)\n    }\n\n```\n\nAnd then I have these:\n\n```\n//remove post if far away from us\n    circleQuery.observeEventType(.KeyExited, withBlock: { (key: String!, location: CLLocation!) in\n        debugPrint(\"\\(key) exited search area, remove from tableview\")\n        stopMonitoringKey(key)        \n    })\n\n    circleQuery.observeEventType(.KeyEntered, withBlock: { (key: String!, location: CLLocation!) in\n        print(\"------------> \\(key) entered the search area and \")\n        UIApplication.sharedApplication().networkActivityIndicatorVisible = true\n        monitorLostDataForKey(key) //start monitoring key values\n    }) \n```\n\nAm I missing something?\n\nThis is in Xcode 7.3.1 with these versions for geofire/firebase: \n\n> Using Firebase (3.2.1)\n> Using FirebaseAnalytics (3.2.0)\n> Using FirebaseAuth (3.0.2)\n> Using FirebaseDatabase (3.0.1)\n> Using FirebaseInstanceID (1.0.6)\n> Using FirebaseStorage (1.0.1)\n> Using GeoFire (2.0.0)\n"},"comment":{"url":"https://api.github.com/repos/firebase/geofire-objc/issues/comments/268563381","html_url":"https://github.com/firebase/geofire-objc/issues/56#issuecomment-268563381","issue_url":"https://api.github.com/repos/firebase/geofire-objc/issues/56","id":268563381,"user":{"login":"almehf","id":12855671,"avatar_url":"https://avatars.githubusercontent.com/u/12855671?v=3","gravatar_id":"","url":"https://api.github.com/users/almehf","html_url":"https://github.com/almehf","followers_url":"https://api.github.com/users/almehf/followers","following_url":"https://api.github.com/users/almehf/following{/other_user}","gists_url":"https://api.github.com/users/almehf/gists{/gist_id}","starred_url":"https://api.github.com/users/almehf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almehf/subscriptions","organizations_url":"https://api.github.com/users/almehf/orgs","repos_url":"https://api.github.com/users/almehf/repos","events_url":"https://api.github.com/users/almehf/events{/privacy}","received_events_url":"https://api.github.com/users/almehf/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T16:15:33Z","updated_at":"2016-12-21T16:15:33Z","body":"I won't lol Thanks though for your time. Much appreciated."}}
{"actor":{"display_login":"almehf"}}