Closed jievans closed 10 years ago
Is the Houston::Notification::APNSError::MAXIMUM_PAYLOAD_SIZE of 2048 bytes invalid?
No, this is correct. The referenced issue explains this pretty clearly.
@mattt Maybe I missed something in reading through the referenced issue, but if the max payload size is still 256 bytes in production, what was the rationale for increasing the payload size to 2048 within Houston?If an implementation relied on Houston's validations for checking payload length in production, that implementation would be broken by the bump of MAXIMUM_PAYLOAD_SIZE to 2048.
Thanks so much for your time!
Is the Houston::Notification::APNSError::MAXIMUM_PAYLOAD_SIZE of 2048 bytes invalid?
According to this issue, in production the maximum payload size APNS will accept is still 256 bytes.