gcm-sender-async icon indicating copy to clipboard operation
gcm-sender-async copied to clipboard

Add GCM notification payload support

Open joelittlejohn opened this issue 10 years ago • 2 comments
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.

joelittlejohn avatar Sep 01 '15 14:09 joelittlejohn

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!

joelittlejohn avatar Sep 01 '15 16:09 joelittlejohn

cool, how about we separate this stuff out into a Message.Notification class with its own builder?

moxie0 avatar Sep 29 '15 21:09 moxie0