apnagent icon indicating copy to clipboard operation
apnagent copied to clipboard

Adapted library and tests for new 2KB payload size

Open HiroProt opened this issue 11 years ago • 3 comments

At WWDC 2014, Apple announced an increase of the payload limit from 256 bytes to 2 kilobytes. This new limit is now in effect on production APNS servers, and thus the library should use the new limit.

HiroProt avatar Sep 05 '14 19:09 HiroProt

Code looks fine but the travis build failed. Looks like the tests to automatically limit the message body length and append ... are failing as they were designed for 256 bytes. Would you mind fixing those up as well?

logicalparadox avatar Sep 06 '14 18:09 logicalparadox

Is there an update on that topic ? If not, I will do another PR including the test fix. Please let me know if I can help.

antoineverger avatar Oct 08 '14 09:10 antoineverger

@antoineverger Sure, go ahead.

logicalparadox avatar Oct 08 '14 13:10 logicalparadox