.NET8 MAUI and Azure Notifications Hub implementation

Enrico Rossini 196 Reputation points
2024-02-03T10:33:24.31+00:00

In my NET8 MAUI application, I'm trying to add push notifications using Azure Notification Hub. I can't find an updated example of how to configure and implement correctly the push notification for Windows, Android and iOS.

Can you point me in the right direction, please? I searched a lot of the internet but none of the examples are working. For example, this document is about Android Studio. This document about iOS is up-to-date. This document about Windows is related to Windows Phone!!

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
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,593 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Tedmobile 10 Reputation points
    2024-02-24T08:09:02.43+00:00

    Hi This is extremely confusing. Developers are saying is supported and Microsoft is saying is not supported. Can this be clarified once and for all if maui is supported in Azure notification hub? many thanks

    2 people found this answer helpful.

  2. VenkateshDodda-MSFT 21,651 Reputation points Microsoft Employee
    2024-02-08T05:09:06.7966667+00:00

    @Enrico Rossini Thanks for your patience on this.

    I have shared the feedback to the internal team and team will be updating the documentation in next iterations. Also, currently Azure Notifications Hubs does not support MAUI applications.

    Hope this helps! Let me know if you have any further questions.

    Please accept as Yes if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.


  3. Bruce (SqlWork.com) 66,621 Reputation points
    2024-02-25T16:56:54.5566667+00:00

    Processing notification client side varies by platform.

    Azure notifications is a common api for servers sending the notification, so they don’t have to use underlying platforms api.

    Maui does not have a common api for receiving platform notifications. You must write custom code to interact with the native api for each platform you wish to support.

    0 comments No comments

  4. Sergio Alejandro Perez Molina 0 Reputation points
    2024-06-21T20:12:09.9366667+00:00

    Hi @Enrico Rossini maybe it's too late but are you try with the Shiny library? It has suport for Push Notifications. It has a Visual Studio template for a quick start.

    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.