We are working on IONIC1 app and using FCM server for Android Notification and APNS for iOS notification

0
down vote
favorite
We are working on IONIC1 app and using FCM server for Android Notification and APNS for iOS notification.

Below are the details for notification plugin using for this app.

phonegap-plugin-push version 2.1.2 fcm version 11.0.1 cordova-plugin-fcm version 2.1.2

we need to show notification with actionable button.(See attached screenshots) We are using fcm-node and sending the below JSON:

{
“registration_ids”: [“my device id”],
“data”: {
“title”: “AUX Scrum”,
“message”: “Scrum: Daily touchbase @ 10am Please be on time so we can cover everything on the agenda.”,
“actions”: [
{ “icon”: “emailGuests”, “title”: “EMAIL GUESTS”, “callback”: “emailGuests”, “foreground”: true},
{ “icon”: “snooze”, “title”: “SNOOZE”, “callback”: “snooze”, “foreground”: false}
]
}
}
But actions button are not displaying, only default notification is showing. below link for reference: https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#action-buttons