arthurnn / apn_sender

Background worker to send Apple Push Notifications over a persistent TCP socket.
MIT License
377 stars 146 forks source link

Increasing iOS 8 payload size to 2KB #79

Closed pwightman closed 9 years ago

pwightman commented 10 years ago

The current payload size is set as a hard 255 byte limit, but iOS 8 has increased the payload size to 2KB. From Apple's documentation, it would appear it applies only to iOS 8, however. Relevant section:

docs

We adjusted the limit in a fork but is just changing the limit globally desirable? Any preferences on a way to let them specify?

pwightman commented 10 years ago

Hmmm... In reading that documentation again, it's hard to say whether the 2KB limit is retroactive or not. I'll try to find a more definitive source.

pwightman commented 10 years ago

Hardly definitive, but I was able to find this: https://twitter.com/HiroProt/status/507910506149998592

benjaminharel commented 9 years ago

I have the same issue.... Any solutions? Except of it works like a charm.

arthurnn commented 9 years ago

Feel free to open a PR to fix the problem. thanks

lukeasrodgers commented 9 years ago

I believe this was effectively addressed by #85