{"action":"opened","issue":{"url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/53","repository_url":"https://api.github.com/repos/malcommac/SwiftLocation","labels_url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/53/comments","events_url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/53/events","html_url":"https://github.com/malcommac/SwiftLocation/issues/53","id":172412257,"number":53,"title":"I always have timeout error callback called after the location search success","user":{"login":"nmDejamobile","id":14217316,"avatar_url":"https://avatars.githubusercontent.com/u/14217316?v=3","gravatar_id":"","url":"https://api.github.com/users/nmDejamobile","html_url":"https://github.com/nmDejamobile","followers_url":"https://api.github.com/users/nmDejamobile/followers","following_url":"https://api.github.com/users/nmDejamobile/following{/other_user}","gists_url":"https://api.github.com/users/nmDejamobile/gists{/gist_id}","starred_url":"https://api.github.com/users/nmDejamobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmDejamobile/subscriptions","organizations_url":"https://api.github.com/users/nmDejamobile/orgs","repos_url":"https://api.github.com/users/nmDejamobile/repos","events_url":"https://api.github.com/users/nmDejamobile/events{/privacy}","received_events_url":"https://api.github.com/users/nmDejamobile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-22T09:56:25Z","updated_at":"2016-08-22T09:56:25Z","closed_at":null,"body":"I run Location like this :\r\n```\r\nlet request: SwiftLocation.Request = SwiftLocation.Location.getLocation(withAccuracy: .Block, frequency: .ByDistanceIntervals(meters: 100), timeout: 10, onSuccess: { (location) in\r\n    debugPrint(NSDate().timeIntervalSince1970 * 1000, \"Location acquired\")\r\n}) { (lastValidLocation, error) in\r\n    debugPrint(NSDate().timeIntervalSince1970 * 1000, \"Location error\", error._code, error.description)\r\n}\r\nprint(\"Start location request \\(request!.UUID)\\n\")\r\nrequest.start()\r\n```\r\nand both events are triggered :\r\n```\r\nStart location request DEBCACED-1C5E-4E0D-B7E0-3DB9D273C9DA\r\n\r\n1471859016543.7268 \"Location acquired\"\r\n1471859026548.197 \"Location error\" 1 \"Timeout for request\"\r\n```\r\nSo transaction is canceled and then no further location change triggers the action."}}
{"actor":{"display_login":"nmDejamobile"}}