Open simonxuhao opened 7 years ago
Hi @nestor5, thanks for your feedback.
Taking a look on the code, missing_payload_size
error refers to Invalid payload size
error (code 7). As you are using the legacy APNs binary interface the maxim payload size is 2KB. Do you know if that could be the problem? could you check it?
I'm using 1.0.6-final, sometimes the error_fun of the apns_connection will be called with apns:status() "missing_payload_size".
I checked my code of sending apns messages but couldn't find anything wrong.
What is the cause of this error? How to avoid it?
Thanks