{"action":"closed","issue":{"url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/265","repository_url":"https://api.github.com/repos/malcommac/SwiftLocation","labels_url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/265/comments","events_url":"https://api.github.com/repos/malcommac/SwiftLocation/issues/265/events","html_url":"https://github.com/malcommac/SwiftLocation/issues/265","id":496415131,"node_id":"MDU6SXNzdWU0OTY0MTUxMzE=","number":265,"title":"Relaxing the accuracy level (both for horizontal accuracy and received interval) for room and house","user":{"login":"jeden","id":1085903,"node_id":"MDQ6VXNlcjEwODU5MDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1085903?v=4","gravatar_id":"","url":"https://api.github.com/users/jeden","html_url":"https://github.com/jeden","followers_url":"https://api.github.com/users/jeden/followers","following_url":"https://api.github.com/users/jeden/following{/other_user}","gists_url":"https://api.github.com/users/jeden/gists{/gist_id}","starred_url":"https://api.github.com/users/jeden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeden/subscriptions","organizations_url":"https://api.github.com/users/jeden/orgs","repos_url":"https://api.github.com/users/jeden/repos","events_url":"https://api.github.com/users/jeden/events{/privacy}","received_events_url":"https://api.github.com/users/jeden/received_events","type":"User","site_admin":false},"labels":[{"id":241932553,"node_id":"MDU6TGFiZWwyNDE5MzI1NTM=","url":"https://api.github.com/repos/malcommac/SwiftLocation/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"malcommac","id":235645,"node_id":"MDQ6VXNlcjIzNTY0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/235645?v=4","gravatar_id":"","url":"https://api.github.com/users/malcommac","html_url":"https://github.com/malcommac","followers_url":"https://api.github.com/users/malcommac/followers","following_url":"https://api.github.com/users/malcommac/following{/other_user}","gists_url":"https://api.github.com/users/malcommac/gists{/gist_id}","starred_url":"https://api.github.com/users/malcommac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malcommac/subscriptions","organizations_url":"https://api.github.com/users/malcommac/orgs","repos_url":"https://api.github.com/users/malcommac/repos","events_url":"https://api.github.com/users/malcommac/events{/privacy}","received_events_url":"https://api.github.com/users/malcommac/received_events","type":"User","site_admin":false},"assignees":[{"login":"malcommac","id":235645,"node_id":"MDQ6VXNlcjIzNTY0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/235645?v=4","gravatar_id":"","url":"https://api.github.com/users/malcommac","html_url":"https://github.com/malcommac","followers_url":"https://api.github.com/users/malcommac/followers","following_url":"https://api.github.com/users/malcommac/following{/other_user}","gists_url":"https://api.github.com/users/malcommac/gists{/gist_id}","starred_url":"https://api.github.com/users/malcommac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malcommac/subscriptions","organizations_url":"https://api.github.com/users/malcommac/orgs","repos_url":"https://api.github.com/users/malcommac/repos","events_url":"https://api.github.com/users/malcommac/events{/privacy}","received_events_url":"https://api.github.com/users/malcommac/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/malcommac/SwiftLocation/milestones/21","html_url":"https://github.com/malcommac/SwiftLocation/milestone/21","labels_url":"https://api.github.com/repos/malcommac/SwiftLocation/milestones/21/labels","id":4852861,"node_id":"MDk6TWlsZXN0b25lNDg1Mjg2MQ==","number":21,"title":"4.2.0","description":null,"creator":{"login":"malcommac","id":235645,"node_id":"MDQ6VXNlcjIzNTY0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/235645?v=4","gravatar_id":"","url":"https://api.github.com/users/malcommac","html_url":"https://github.com/malcommac","followers_url":"https://api.github.com/users/malcommac/followers","following_url":"https://api.github.com/users/malcommac/following{/other_user}","gists_url":"https://api.github.com/users/malcommac/gists{/gist_id}","starred_url":"https://api.github.com/users/malcommac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malcommac/subscriptions","organizations_url":"https://api.github.com/users/malcommac/orgs","repos_url":"https://api.github.com/users/malcommac/repos","events_url":"https://api.github.com/users/malcommac/events{/privacy}","received_events_url":"https://api.github.com/users/malcommac/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2019-11-17T08:48:57Z","updated_at":"2019-11-17T08:55:51Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2019-09-20T15:27:49Z","updated_at":"2019-11-17T08:55:51Z","closed_at":"2019-11-17T08:55:51Z","author_association":"NONE","body":"If I call\r\n\r\n```\r\nLocationManager.shared.locateFromGPS(.continous, accuracy: .block, activity: .otherNavigation) { result in\r\n  ...\r\n}\r\n```\r\n\r\nmultiple times at different times, and I start location tracking on each handler, only the first receives updates. The 2nd start receiving updates only if the first one is stopped.\r\n\r\nFor this to happen, I delayed the 2nd call to `locateFromGPS` by 10 seconds (using `DispatchQueue.main.asyncAfter()`)\r\n\r\nIf I replace `.continous` with `.oneShot` it works fine instead.\r\n\r\nIs it supposed to work this way, or is it a bug?\r\n"}}
{"actor":{"display_login":"malcommac"}}