Xcelerator-Group / dotnet-maui-notifications

An example of how to use Azure Notification Hub with .NET Maui
10 stars 2 forks source link

.NET Maui Notifications

I have done a lot of searching on the internet to find a solution for using the latest .NET Maui and handling push notifications from Azure Notification Hub but there has been nothing quite comprehensive enough to follow. After a bit of trial and error I have gotten to this code base which works!

Notes

To Use

In order to use this you will need to make some modifications for your use as listed below:

At this point you should be able to build and run on an Android emulator and send a test message from the Azure Notification Hub.

Contributions

I am happy to take PRs regarding this if anyone has more to add. I will probably not address any issues unless there is an accompanying PR as this was intended to just show how to do notifications and nothing else.

References

Some links I have visited during this that may be useful if you are having any problems or may explain why some things are the way they are: