{"action":"closed","issue":{"url":"https://api.github.com/repos/chvanikoff/apns4ex/issues/29","repository_url":"https://api.github.com/repos/chvanikoff/apns4ex","labels_url":"https://api.github.com/repos/chvanikoff/apns4ex/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/chvanikoff/apns4ex/issues/29/comments","events_url":"https://api.github.com/repos/chvanikoff/apns4ex/issues/29/events","html_url":"https://github.com/chvanikoff/apns4ex/issues/29","id":141283918,"number":29,"title":"Resend notifications when error is received","user":{"login":"Linuus","id":379823,"avatar_url":"https://avatars.githubusercontent.com/u/379823?v=3","gravatar_id":"","url":"https://api.github.com/users/Linuus","html_url":"https://github.com/Linuus","followers_url":"https://api.github.com/users/Linuus/followers","following_url":"https://api.github.com/users/Linuus/following{/other_user}","gists_url":"https://api.github.com/users/Linuus/gists{/gist_id}","starred_url":"https://api.github.com/users/Linuus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linuus/subscriptions","organizations_url":"https://api.github.com/users/Linuus/orgs","repos_url":"https://api.github.com/users/Linuus/repos","events_url":"https://api.github.com/users/Linuus/events{/privacy}","received_events_url":"https://api.github.com/users/Linuus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chvanikoff/apns4ex/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/chvanikoff/apns4ex/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-16T14:01:49Z","updated_at":"2016-04-22T20:42:39Z","closed_at":"2016-04-22T20:42:39Z","body":"Hi!\r\n\r\nI'm investigating why a lot of our push messages aren't delivered.\r\n\r\nWhen reading here:\r\nhttps://developer.apple.com/library/ios/technotes/tn2265/_index.html#//apple_ref/doc/uid/DTS40010376-CH1-TNTAG44\r\n\r\nIs states that \r\n\"If you get six bytes back, that's an error response that you can check for the response code and the ID of the notification that caused the error. **You'll need to send every notification following that one again.**\"\r\n\r\nSo, I believe that our issue is that we send some notifications, hit a bad token and all subsequent notifications are discarded by Apple.\r\n\r\nAs far as I can see this isn't handled by apns4ex. Is that correct?\r\nIf it isn't handled by apns4ex, how are you supposed to tackle this issue?\r\n\r\nAny input here is very welcome since I am a bit lost at the moment... :)\r\n\r\ncc @ramhoj "}}