İyonic custom push notifications ve phonegap-plugin-push kullanarak bildirme eylemlerini uygulamaya çalışıyorum.İyonik push bildirimleriyle eylemleri gösterme
Ne yazık ki, mesaj ve başlık mükemmel bir şekilde çalışıyor olsa bile, henüz işlem düğmelerini gösteren bir şansım olmadı.
Bu benim cURL istek:
curl -X POST -H "Authorization: Bearer XXXXXXXXXXXXXXX" -H "Content-Type: application/json" -d '{
"tokens": ["XXXXXXXXXXXXXXX"],
"profile": "push01",
"notification": {
"message": "test",
"android": {
"title": "test android",
"data": {
"actions": [
{ "icon": "emailGuests", "title": "EMAIL GUESTS", "callback": "app.emailGuests", "foreground": true},
{ "icon": "snooze", "title": "SNOOZE", "callback": "app.snooze", "foreground": false }
]
}
}
}
}' "https://api.ionic.io/push/notifications"
yanlış yapıyor olabilir ne biliyor musunuz?
Teşekkürler!
size İon 2 ile bunu çözmek edebildiniz mi? –