I'm having a weird issue with FCM, specifically when sending silent push notifications to iOS devices.
Here is the JSON we were sending on the HTTP request to Firebase four days ago:
{
"to": "<firebase token>",
"content_available": true
}
Today, that JSON no longer works. Based on this StackOverflow response, I tried adding the sound
property like so:
{
"to": "<firebase token>",
"content_available": true,
"notification": {
"sound": ""
}
}
Now this works. I shouldn't need to specify an empty sound
property on this in order to get it working.
For context, these are things that do work:
- Sending non-silent push notifications through Firebase Cloud Messaging
- Sending silent and non-silent push notifications directly through APNs
Anyone have an idea on what's going on?