I'm trying to get some error-response from Apple. Thought it could be a nice way to check if the message was delivered to the actual dev_token. I read about it in the documentation, it says:
With this format, if APNs encounters an unintelligible command, it returns an error response before disconnecting.
source: Apple Documentation
The problem is: I only get an error-response, if the payload-size is invalid or missing, but I don't get the "invalid token" error, even though Apples Feedback-Service listet it as invalid. My Question:
Is the error-response only for getting information about the code-format/checking wheather the payload is valid etc.?
Any help would be much appreciated! Thanks