I am having some problems with apn, using simple format. This is the scenario:
1) I have a persistent connection to apn push service.
2) I send in a row 10 messages, where for example the 5th can have wrong device token
3) All messages from 1 to 4 are sent correctly
4) I receive a message from the socket of successful sending for all messages (included the ones from 5th to 10th).
5) message from 6th to 10th are not pushed to users.
6) after a while connection is closed by apn server
am i doing something wrong or is this the common behavior?