gcm-sender-async
gcm-sender-async copied to clipboard
Add GCM notification payload support
trafficstars
GCM now supports a payload field notification which allows GCM to understand the details of the notification and automatically display it on behalf of the client app:
https://developers.google.com/cloud-messaging/concept-options
This PR adds support for setting this notification field in the message payload.
Ah, the code changes here were made by someone who wont be around to sign the contributor agreement for a few weeks. I'll update you when it's done. Thanks!
cool, how about we separate this stuff out into a Message.Notification class with its own builder?