Changes for README.md: 21 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -313,6 +313,27 @@ and:
You will only see both "Push number 1" and "Push number 2" in the shade.
### 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:
```javascript
{
title:"AUX Scrum",
message:"Scrum: Daily touchbase @ 10am Please be on time so we can cover everything on the agenda.",
If your users clicks on the main body of the notification your app will be opened. However if they click on either of the action buttons the app will open (or start) and the specified JavaScript callback will be executed. In this case it is `app.emailGuests` and `app.snooze` respectively.