-
-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathREADME.mdpp
15 lines (11 loc) · 962 Bytes
/
README.mdpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# .NET MAUI Push Notifications using Azure Notification Hub
!INCLUDE "./md/header.mdpp"
Article: https://vladislavantonyuk.github.io/articles/.NET-MAUI-Push-Notifications-using-Azure-Notification-Hub.-Part-2.-Setup-.NET-MAUI/
### Changes needed to make receiving notifications work on Android
- `Platforms\Android\google-services.json` - overwrite with your own
- `MauiNotifications.csproj` - replace `<ApplicationId>` with your own, likely something like `com.CompanyName.MauiNotifications`
- `MauiProgram.cs`
- `YOUR CONNECTION STRING` - replace with your Azure Notification Hub connection string from "DefaultListenSharedAccessSignature".
It should look something like this: `Endpoint=sb://<namespace>.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=<shared access key>`
- `YOUR HUB NAME` - replace with your Azure Notification Hub name (just the hub name, not the namespace)
!INCLUDE "./md/footer.mdpp"