Monday, January 13, 2014

IOS TOKEN failure to push the message when the message is lost

1: When push encountered failure message push TOKEN cause failure. Access a lot of information, said the event
A failure TOKEN, with a queue from the subsequent failure of the TOKEN message can not push

2: even APNS provided by the method, timing acquisition TOKEN delete failure, but because there is a delay,
TOKEN from failure to start, push back a message within a certain time, or not properly pushed to the user's mobile phone.

3: If in the event of failure TOKEN, Apple push server, will take the initiative disconnected.

4: Some methods are provided: a certain number of messages sent per, it checks to see if there is failure TOKEN,
If you have to delete invalid TOKEN, new access to new connections. Like said above, because there is a delay (delay
How long is unclear), even in this way, it seems there is no way to ensure that large quantities of message loss ah.


God does not know you have not encountered these big problems, how to solve it?
Reply:
Apple is reportedly after passing ~ support a single token push, receive a failure status code can try to push more than a few times, after a single drop, you can also continue to push after controllable.
Reply:
Here also encountered this problem.

There are a bunch of token exception (either failure or abnormal), followed by the token are unable to go.

The key is to fwrite returns are the same. Unable to determine

No comments:

Post a Comment