Last active
July 13, 2016 22:08
-
-
Save marchbold/2f8cf99494de3b02fecf to your computer and use it in GitHub Desktop.
Complete GCM Payload using the Push Notifications ANE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data" : { | |
| "notification" : { | |
| "icon" : "ic_stat_distriqt_default", | |
| "alert" : "You have a notification", | |
| "title" : "You have a notification", | |
| "body" : "The body of the notification", | |
| "sound" : "default", | |
| "vibrate": "true", | |
| "largeIcon": "assets/notifications/icons/largeIcon.png", | |
| "style": { | |
| "type": "text", | |
| "text": "Some longer and larger content that will be used for a text style big view.\n\nThe body content will be shown in the normal view, but this content will be shown in the expanded view. ", | |
| "lines": [ | |
| "Inbox message line 1", | |
| "Inbox message line 2" | |
| ], | |
| "image":"http://example.com/path/to/image.png" | |
| }, | |
| "groupIcon": "ic_stat_distriqt_default", | |
| "groupKey" : "groupKey", | |
| "groupTitle": "You have %d notifications", | |
| "groupSummary": "Message displayed at bottom of notifications", | |
| "category": "INVITE_CATEGORY" | |
| }, | |
| "user_custom": "some-custom-value" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment