Closed crash-her closed 4 years ago
Are there any errors indicated in the returned BatchResponse
?
No I receive a success response.
Please reach out to Firebase Support and provide your project ID and token information. They can help you sort it out. If there are no errors in the SDK-end that means the message was successfully handed off to FCM backend service for delivery.
when i use the legacy API i send it a JSON of
{
"data":{
"type":"activity_updates"
},
"priority": "high",
"content_available": true,
"to":"dCw-..."
}
that works
I have the same issue and with the legacy api being depreciated soon this should really be fixed. It works on android for me. but on ios i dont recieve a message unless i also include the notification field.
https://dotnetfiddle.net/iwIGCu Here is how im sending the message
When I execute the below code my app does not get the background notification but the batchResponse is a success. Before switching to Firebase we were using Apples APNS protocols to trigger the background notifications and it works flawlessly.
the generated body is