/XamUAzureNotificationHub

Demo code for Lightning Lecture "Push notifications with Azure Notification Hub"

Primary LanguageC#MIT LicenseMIT

Sending and receiving push notifications with Xamarin.Forms and Azure Notification Hub

This repo contains the code for the Lightning Lecture "Push notifications with Azure Notification Hub" available at https://university.xamarin.com/lightninglectures

Topics covered

  • Setup Azure Notification Hub for use with Android, iOS and Windows (UWP)
  • Configure FCM for notifications on Android
  • Configure APNS for notifications on iOS
  • Configure WNS for notifications on Windows
  • Build a Xamarin.Forms app to handle notifications
  • Implement the platform specific native steps required to receive push notifications
  • Implement and deploy a custom Azure Mobile App Service (.NET) to send notifications via the Azure Notification Hub
  • Connect the Xamarin.Forms app to the .NET backend

Please note that the solution requires an active Azure subscription that is available for free at https://portal.azure.com - the Notification Hub and backend used in the lecture are not meant for direct use and will be switched off without further warning.

Useful links

This section contains links for further reading. I found them helpful while investigating push notifications across the shown platforms.

Azure

Android

iOS

Windows

MIT License

Copyright (c) 2017 René Ruppert

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.