Test notifications with FcmV1 sent from Azure Hub Notifications are not working.

PORRAS MIRANDA JONATHAN GERARDO 60 Reputation points
2024-03-18T18:07:02.3033333+00:00

Hi,

I have been reading about FcmV1 due the migration of FCM by Google.

After the configuration in Google (FCM v1) in Azure, I have tried make a "Test Send" BUT the message never is sent.

By the contrary, when I send a message from Android (Legacy) it works fine.

What I thought was when I configured Google (FCM v1) I could sent a test messages and it would worked, but it did not.NotificationsTestNotWorking

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.
325 questions
{count} votes

1 answer

Sort by: Most helpful
  1. David Yeung 55 Reputation points
    2024-04-29T08:27:52.52+00:00

    I have resolved my issue. It appears that the fcmv1 template notification only functions correctly when the 'enableTestSend' parameter in the NotificationHubClient initialization is set to false.

    https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.notificationhubs.notificationhubclient.createclientfromconnectionstring?view=azure-dotnet

    1 person found this answer helpful.

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.