dotnet / maui-samples

Samples for .NET Multi-Platform App UI (.NET MAUI)
https://dot.net/maui
MIT License
3.15k stars 1.28k forks source link

Push notifications sample #489

Closed davidbritch closed 4 months ago

davidbritch commented 4 months ago

Write a sample that demonstrates/explains how to use Azure Notification Hubs via a backend service, to send push notifications to .NET MAUI Android and iOS apps.

An ASP.NET Web API backend will be used to handle device registration on behalf of the client, via the Notification Hubs SDK for backend operations.

A .NET MAUI app for Android and iOS will demonstrate the use of the backend service using explicit register/deregister actions. This will largely involve writing native code using .NET for Android and .NET for iOS. Push notifications should appear in notification centre when the app is stopped or in the background. If a notification contains an action and is received when the app is in the foreground, or when a notification is used to launch the app from notification centre, a message will be presented identifying the action specified.

The technologies involved will be:


Associated WorkItem - 273380

VladislavAntonyuk commented 4 months ago

https://vladislavantonyuk.github.io/articles/.NET-MAUI-Push-Notifications-using-Azure-Notification-Hub.-Part-1.-Setup-Azure-Notification-Hub/