groupon/urbanairship — pull request #37 by devinfoley (2013-07-21 01:01:02+00:00)
Title: Automatically truncate message if payload.

I wish that this logic lived inside of UA's API. I suppose adding it to libraries is the next best thing.

Since APS only allows a 256 byte payload, automatically truncate the push notification alert message if the payload exceeds 256 bytes.