FCM Payload Notifications in background

anandjitbanerjeeanandjitbanerjee USMember ✭✭
edited November 9 in Xamarin.iOS

I have not been able to get FCM notifications working in background with payload message type.It works perfectly fine for foreground.
The sample json is as below:
{
"to": "/topics/news",
"content_available": true,
"mutable_content": true,
"data":
{
"message": "Offer!",
"mediaUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2a/FloorGoban.JPG/1024px-FloorGoban.JPG"
}

}

Can someone please suggest if I need to do something more to get it working.

Sign In or Register to comment.