Open code4muktesh opened 2 years ago
I found a few problems with this issue:
Hi @code4muktesh could you provide us with a minimal repro on this? It is difficult to investigate without seeing how you used the API. Thank you.
Hello, @code4muktesh feel free to assign the issue back to me after the sample code to reproduce this issue is posted.
@chong-shao
sample code :
var message = new MulticastMessage()
{
Tokens = registrationTokens,
Data = new Dictionary<string, string>()
{
{ "title", "title test" },
{ "body", "Desc1" },
},
Android = new AndroidConfig()
{
Notification = new AndroidNotification()
{
Title = "title test",
Body = "Desc",
ImageUrl = "http://xxxxxxx",
ChannelId = "Default",
ClickAction = "com.test.app",
},
Priority = Priority.High
}
};
var response = await FirebaseMessaging.DefaultInstance.SendMulticastAsync(message).ConfigureAwait(true);
If trying to send push notification using this sdk then notification is being received on device but clicking on notification is not working. But, If directly sending the request to old APIs(https://fcm.googleapis.com/fcm/send) using postman then it is working as expected.