{"action":"created","issue":{"url":"https://api.github.com/repos/voyage11/Location/issues/7","labels_url":"https://api.github.com/repos/voyage11/Location/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/voyage11/Location/issues/7/comments","events_url":"https://api.github.com/repos/voyage11/Location/issues/7/events","html_url":"https://github.com/voyage11/Location/issues/7","id":55005683,"number":7,"title":"can't start new background task if time elapsed is more than 3 minutes.","user":{"login":"iNabarawy","id":672567,"avatar_url":"https://avatars.githubusercontent.com/u/672567?v=3","gravatar_id":"","url":"https://api.github.com/users/iNabarawy","html_url":"https://github.com/iNabarawy","followers_url":"https://api.github.com/users/iNabarawy/followers","following_url":"https://api.github.com/users/iNabarawy/following{/other_user}","gists_url":"https://api.github.com/users/iNabarawy/gists{/gist_id}","starred_url":"https://api.github.com/users/iNabarawy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNabarawy/subscriptions","organizations_url":"https://api.github.com/users/iNabarawy/orgs","repos_url":"https://api.github.com/users/iNabarawy/repos","events_url":"https://api.github.com/users/iNabarawy/events{/privacy}","received_events_url":"https://api.github.com/users/iNabarawy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-21T11:13:04Z","updated_at":"2015-01-30T06:59:53Z","closed_at":null,"body":"Hi , Thanks for a great approach\r\nI'm using your code , It works as expected when the app is run through xcode debugger , but when the app runs on it's own it is limited to 3 min only and then it crashes , I monitor successful location updates and updates to server through UILocalNotifications , after 3 minutes all background processes stop and the app crashes , what i found in the crash log is the following \r\n<BKNewProcess: 0x124e37c00; com.eventagrate.JAC; pid: 8442; hostpid: -1> has active assertions beyond permitted time: \r\n{(\r\n    <BKProcessAssertion: 0x124e37ae0> id: 8442-700206AD-3E22-4CB1-8551-6A3B5F5E4721 name: Called by JAC, from -[BackgroundTaskManager beginNewBackgroundTask] process: <BKNewProcess: 0x124e37c00; com.MYAPPUDID; pid: 8442; hostpid: -1> permittedBackgroundDuration: 180.000000 reason: finishTask owner pid:8442 preventSuspend  preventIdleSleep  preventSuspendOnSleep ,\r\n    <BKProcessAssertion: 0x124d1a350> id: 8442-33C56A89-43AB-43D0-8F18-A8EAA1BC3C1F name: Called by MYAPP, from -[BackgroundTaskManager beginNewBackgroundTask] process: <BKNewProcess: 0x124e37c00; com.MYAPPUDID; pid: 8442; hostpid: -1> permittedBackgroundDuration: 180.000000 reason: finishTask owner pid:8442 preventSuspend  preventIdleSleep  preventSuspendOnSleep \r\n)}\r\n\r\n\r\nI was wondering If this solution doesn't work anymore or if you have updated your code to handle this error ,\r\nThanks for your help"},"comment":{"url":"https://api.github.com/repos/voyage11/Location/issues/comments/72162054","html_url":"https://github.com/voyage11/Location/issues/7#issuecomment-72162054","issue_url":"https://api.github.com/repos/voyage11/Location/issues/7","id":72162054,"user":{"login":"thenopen","id":799925,"avatar_url":"https://avatars.githubusercontent.com/u/799925?v=3","gravatar_id":"","url":"https://api.github.com/users/thenopen","html_url":"https://github.com/thenopen","followers_url":"https://api.github.com/users/thenopen/followers","following_url":"https://api.github.com/users/thenopen/following{/other_user}","gists_url":"https://api.github.com/users/thenopen/gists{/gist_id}","starred_url":"https://api.github.com/users/thenopen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thenopen/subscriptions","organizations_url":"https://api.github.com/users/thenopen/orgs","repos_url":"https://api.github.com/users/thenopen/repos","events_url":"https://api.github.com/users/thenopen/events{/privacy}","received_events_url":"https://api.github.com/users/thenopen/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T06:59:53Z","updated_at":"2015-01-30T06:59:53Z","body":"I have got this error."}}