I've implemented Firebase FCM for push notifications in my app, and it works great - except from, as my topic describes, it gives me this response aprox 6/10 times:
{
error = InternalServerError;
}
)
, "multicast_id": 8370179651570531666, "failure": 1, "canonical_ids": 0, "success": 0]
Run Code Online (Sandbox Code Playgroud)
The rest of the times, it delivers the notification as expected!
I'm sending my notifications from my app, through https://fcm.googleapis.com/fcm/send as a POST-request like this:
func sendFcmNotificationToUser(title: String, message: String, to: String, sound: Bool, badge: Bool) …Run Code Online (Sandbox Code Playgroud)