{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cordova-plugin-geolocation/issues/67","repository_url":"https://api.github.com/repos/apache/cordova-plugin-geolocation","labels_url":"https://api.github.com/repos/apache/cordova-plugin-geolocation/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/apache/cordova-plugin-geolocation/issues/67/comments","events_url":"https://api.github.com/repos/apache/cordova-plugin-geolocation/issues/67/events","html_url":"https://github.com/apache/cordova-plugin-geolocation/pull/67","id":127781993,"number":67,"title":"Update iOS geolocation plugin to avoid THREAD WARNING: ['Geolocation'…","user":{"login":"guillaumedev","id":7102401,"avatar_url":"https://avatars.githubusercontent.com/u/7102401?v=3","gravatar_id":"","url":"https://api.github.com/users/guillaumedev","html_url":"https://github.com/guillaumedev","followers_url":"https://api.github.com/users/guillaumedev/followers","following_url":"https://api.github.com/users/guillaumedev/following{/other_user}","gists_url":"https://api.github.com/users/guillaumedev/gists{/gist_id}","starred_url":"https://api.github.com/users/guillaumedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillaumedev/subscriptions","organizations_url":"https://api.github.com/users/guillaumedev/orgs","repos_url":"https://api.github.com/users/guillaumedev/repos","events_url":"https://api.github.com/users/guillaumedev/events{/privacy}","received_events_url":"https://api.github.com/users/guillaumedev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-20T20:56:45Z","updated_at":"2016-02-09T09:36:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/cordova-plugin-geolocation/pulls/67","html_url":"https://github.com/apache/cordova-plugin-geolocation/pull/67","diff_url":"https://github.com/apache/cordova-plugin-geolocation/pull/67.diff","patch_url":"https://github.com/apache/cordova-plugin-geolocation/pull/67.patch"},"body":"To avoid warning  \"THREAD WARNING: ['Geolocation'] took 'X' ms. Plugin should use a background thread.\", i added     [self.commandDelegate runInBackground:^{ }]; around the code in getLocation method. By doing so, the execution of this code takes place in a new thread and works all the same. \r\n\r\nApple sometimes can reject application because of that, so it can only be good to add it, as simple as it is."},"comment":{"url":"https://api.github.com/repos/apache/cordova-plugin-geolocation/issues/comments/181782297","html_url":"https://github.com/apache/cordova-plugin-geolocation/pull/67#issuecomment-181782297","issue_url":"https://api.github.com/repos/apache/cordova-plugin-geolocation/issues/67","id":181782297,"user":{"login":"guillaumedev","id":7102401,"avatar_url":"https://avatars.githubusercontent.com/u/7102401?v=3","gravatar_id":"","url":"https://api.github.com/users/guillaumedev","html_url":"https://github.com/guillaumedev","followers_url":"https://api.github.com/users/guillaumedev/followers","following_url":"https://api.github.com/users/guillaumedev/following{/other_user}","gists_url":"https://api.github.com/users/guillaumedev/gists{/gist_id}","starred_url":"https://api.github.com/users/guillaumedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillaumedev/subscriptions","organizations_url":"https://api.github.com/users/guillaumedev/orgs","repos_url":"https://api.github.com/users/guillaumedev/repos","events_url":"https://api.github.com/users/guillaumedev/events{/privacy}","received_events_url":"https://api.github.com/users/guillaumedev/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T09:36:07Z","updated_at":"2016-02-09T09:36:07Z","body":"Just try my solution, and there is no problem anymore :D"}}