We have two kind of firebase notifications, one with the notification field and one without (this field it's used by the system to display the banner).
The one with is always received, the one without is received for a certain row of attempts and then stops being received.
These are the payloads:
The one always being received:
{
"content_available": true,
"data": {
"pushCategory": "ALEXA",
"body": "body",
"message": "message",
"title": "status/update",
"updateStatus": {
"operationId": "7fc0e1ff-cc0d-4045-8b30-69710bf80c24",
"status": 0,
"action": "makecoffee",
"description": "",
"stock": {
"remaining": "91",
"threshold": "10",
"depletion": false
}
}
},
"notification": {
"title": "title",
"body": "body msg"
},
"apns": {
"headers": {
"apns-priority": "10"
}
},
"to": "----"
}
The one not being received randomly:
{
"content_available": true,
"data": {
"pushCategory": "ALEXA",
"body": "body",
"message": "message",
"title": "status/update",
"updateStatus": {
"operationId": "7fc0e1ff-cc0d-4045-8b30-69710bf80c24",
"status": 0,
"action": "makecoffee",
"description": "",
"stock": {
"remaining": "91",
"threshold": "10",
"depletion": false
}
}
},
"apns": {
"headers": {
"apns-priority": "10"
}
},
"to": "----"
}
The equivalent notification using directly the APNS servers and without the alert field is always received. (the alert field is the one that tells the system to display the banner)
I contacted the Firebase support but the issue in ongoing, do you know what could be the issue?