We are building an ionic application using Firebase FCM for our push notifications via the Pigeon elixir library. We have noticed that some of out Android notifications don’t get received by our android devices, even though we receive a successful response from Firebase while all of our IOS notifications are received perfectly.
We are sending the following message payload:
{
"message": {
"token":"bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...",
"notification": {
"title": "Test title",
"body": "Test message"
},
"data": {
"notification_id": "123"
},
"apns": {
"payload": {
"aps": {
"badge" : 1
}
}
}
}
}
We’d expect to receive all of the notifications on Android but some never get received on the device. Does anyone know if there is a solution for this with any parameters or has anyone experienced this before?
Kasparas Morkūnas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.