FCM V1 Template upgrade Azure Notification cannot send message by SendTemplateNotificationAsync()

Myint Kyaw 1 Reputation point

Hi ,

I am still having issue that working on SendFcmV1NativeNotificationAsync() but not working with SendTemplateNotificationAsync(). I registered the device and template as below :

var result = await hubClient.CreateFcmV1NativeRegistrationAsync(token, tags);

var templateRegisterResult = await hubClient.CreateFcmV1TemplateRegistrationAsync(token, NotificationConstants.FCMV1TemplateBody);

My template body is here: public static string FCMV1TemplateBody { get; set; } = "{"message":{"android":{"data":{"message":"$(messageParam)"}}}}";

Need your advice

Thank you.

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
298 questions
0 comments No comments
{count} votes