Changes for README.md: 34 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -314,6 +314,40 @@ and:
You will only see both "Push number 1" and "Push number 2" in the shade.
### Inbox Stacking ###
A better alternative to stacking your notifications is to use the inbox style to have up to 8 lines of notification text in a single notification. If you send the following JSON from GCM you will see:
If you use `%n%` in the `summaryText` of the JSON coming down from GCM it will be replaced by the number of messages that are currently in the queue.
### Action Buttons
Your notification can include action buttons. If you wish to include an icon along with the button name they must be placed in the `res/drawable` directory of your Android project. Then you can send the following JSON from GCM: