Exception when sending Push Notifications through Azure NotificationHub

Islam Waheed 1 Reputation point
2021-09-09T11:24:44.027+00:00

Please I need your support to find solution for this issue please :

_hub.SendTemplateNotificationAsync(notification, tags);

Error :

{"Unexpected exception encountered TrackingId:9f9e81b4-c5f5-4708-9193-d6b4a73509bf,TimeStamp:2021-09-08T12:53:55.7152370Z"}d exception encountered TrackingId

Also i face an error as below screen shot when try to push notification from azure

130714-image.png

Thanks,
-Islam

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.
329 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 27,356 Reputation points Microsoft Employee
    2021-09-10T21:50:59.543+00:00

    @Islam Waheed , Google has deprecated Google Cloud Messaging (GCM). The GCM server and client APIs are deprecated and are removed.

    You could use Google's Firebase Cloud Messaging (FCM), see Sending push notifications to Android with Azure Notification Hubs (ANH) and FCM.

    See -Tutorial: Send push notifications to Android devices by using Azure Notification Hubs and Google Cloud Messaging (deprecated)

    ANH only support FCM/GCM through Firebase and iOS/Apple through APNS.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.