Azure Notification Hub Registration from Android and WinUI Devices

dg2k 1,416 Reputation points
2022-07-10T13:33:34.177+00:00

We are in the process of migrating a published app from Xamarin to .NET MAUI. We're inching toward the final steps but see no obvious solution for notification registration on Azure.

We used packages Xamarin.Azure.NotificationHubs.Android for Xamarin-Android and WindowsAzure.Messaging.Managed for Xamarin-UWP.

Can you suggest if package(s) exist for .NET MAUI to register Android and WinUI devices on Azure notification hub, or a workaround to do the equivalent?

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.
384 questions
Developer technologies | .NET | .NET MAUI
{count} vote

Accepted answer
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2022-07-13T11:16:36.32+00:00

    anonymous user-4673 Thanks for your patience on this.

    Based on the feedback from internal team, you can try using Xamarin.Azure.NotificationHubs.Android NuGet for Android app, and Microsoft.Azure.NotificationHubs for the Windows app. Both NuGets don’t have any dependency on the UI framework, so they should work with MAUI as well.

    Here is a GitHub issue opened by someone who tried (and finally succeeded) using the Xamarin Firebase NuGet in MAUI.

    Feel free to reach back to be if you have any further questions on this

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.