{"action":"created","issue":{"url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/91","labels_url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/91/comments","events_url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/91/events","html_url":"https://github.com/nuclearace/Socket.IO-Client-Swift/issues/91","id":117152787,"number":91,"title":"SocketIO automatically disconnects automatically when phone locked - Swift","user":{"login":"bubblebytes","id":11770997,"avatar_url":"https://avatars.githubusercontent.com/u/11770997?v=3","gravatar_id":"","url":"https://api.github.com/users/bubblebytes","html_url":"https://github.com/bubblebytes","followers_url":"https://api.github.com/users/bubblebytes/followers","following_url":"https://api.github.com/users/bubblebytes/following{/other_user}","gists_url":"https://api.github.com/users/bubblebytes/gists{/gist_id}","starred_url":"https://api.github.com/users/bubblebytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bubblebytes/subscriptions","organizations_url":"https://api.github.com/users/bubblebytes/orgs","repos_url":"https://api.github.com/users/bubblebytes/repos","events_url":"https://api.github.com/users/bubblebytes/events{/privacy}","received_events_url":"https://api.github.com/users/bubblebytes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-16T15:45:03Z","updated_at":"2015-11-16T20:22:38Z","closed_at":null,"body":"Hi guys, \r\n\r\nI have a very strange issue with SocketIO.\r\nI need to get socket events in background, even phone is locked, or app is background.\r\n\r\nBut currently after 1-2 minutes, after I locked the phone, I got message:\r\n\"socket disconnected\"\r\n\r\nAnyone can help with this?\r\nWhat solutions I have?\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/comments/157158520","html_url":"https://github.com/nuclearace/Socket.IO-Client-Swift/issues/91#issuecomment-157158520","issue_url":"https://api.github.com/repos/nuclearace/Socket.IO-Client-Swift/issues/91","id":157158520,"user":{"login":"bubblebytes","id":11770997,"avatar_url":"https://avatars.githubusercontent.com/u/11770997?v=3","gravatar_id":"","url":"https://api.github.com/users/bubblebytes","html_url":"https://github.com/bubblebytes","followers_url":"https://api.github.com/users/bubblebytes/followers","following_url":"https://api.github.com/users/bubblebytes/following{/other_user}","gists_url":"https://api.github.com/users/bubblebytes/gists{/gist_id}","starred_url":"https://api.github.com/users/bubblebytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bubblebytes/subscriptions","organizations_url":"https://api.github.com/users/bubblebytes/orgs","repos_url":"https://api.github.com/users/bubblebytes/repos","events_url":"https://api.github.com/users/bubblebytes/events{/privacy}","received_events_url":"https://api.github.com/users/bubblebytes/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T20:22:38Z","updated_at":"2015-11-16T20:22:38Z","body":"Many thanks...\r\n\r\nI already did the same, and seems it is fine.. but still there are some strange situations when socket disconnects again - eg: incoming call...\r\n\r\nThanks a lot"}}