You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/notification-hubs/configure-notification-hub-portal-pns-settings.md
+42-39Lines changed: 42 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,30 +36,52 @@ To set up Apple Push Notification Service (APNS):
36
36
* Select the file icon, and then select the *.p12* file you want to upload.
37
37
* Enter a password.
38
38
* Select **Sandbox** mode. Or, to send push notifications to users who purchased your app from the store, select **Production** mode.
39
-
40
-

41
-
42
-
b. If you select **Token**:
39
+
40
+

41
+
42
+
43
+
44
+
b. If you select **Token**:
43
45
44
46
* Enter the values for **Key ID**, **Bundle ID**, **Team ID**, and **Token**.
45
47
* Select **Sandbox** mode. Or, to send push notifications to users who purchased your app from the store, select **Production** mode.
48
+
49
+

50
+
51
+
52
+
53
+
For more information, see [Send push notifications to iOS apps using Azure Notification Hubs](ios-sdk-get-started.md).
46
54
47
-

55
+
## Google Firebase Cloud Messaging V1 (FCMv1)
56
+
57
+
To set up push notifications for Google FCMv1:
58
+
59
+
1. In the Azure portal, on the **Notification Hub** page, select **Google (FCMv1)** from the left menu.
60
+
2. Update the **Private Key**, **Project ID**, and **Client Email** values from the service account JSON file obtained from the Firebase Console.
61
+
1. Select **Save**.
48
62
49
-
For more information, see [Send push notifications to iOS apps using Azure Notification Hubs](ios-sdk-get-started.md).
63
+
64
+

65
+
66
+
When you complete these steps, an alert indicates that the notification hub has been successfully updated. The **Save** button is disabled.
50
67
51
68
## Google Firebase Cloud Messaging (FCM)
52
69
70
+
> [!NOTE]
71
+
> Firebase Cloud Messaging (FCM) has been deprecated and is no longer supported.
72
+
53
73
# [Portal](#tab/azure-portal)
54
74
55
75
To set up push notifications for Google FCM:
56
76
57
77
1. In the Azure portal, on the **Notification Hub** page, select **Google (GCM/FCM)** from the left menu.
58
78
2. Paste the **API Key** for the Google FCM project that you saved earlier.
59
-
3. Select **Save**.
60
-
61
-

79
+
1. Select **Save**.
62
80
81
+

82
+
83
+
84
+
63
85
When you complete these steps, an alert indicates that the notification hub has been successfully updated. The **Save** button is disabled.
64
86
65
87
# [Azure CLI](#tab/azure-cli)
@@ -113,46 +135,27 @@ To set up Windows Push Notification Service (WNS):
113
135
114
136
1. In the Azure portal, on the **Notification Hub** page, select **Windows (WNS)** from the left menu.
115
137
2. Enter values for **Package SID** and **Security Key**.
116
-
3. Select **Save**.
117
-
118
-

138
+
1. Select **Save**.
119
139
140
+

141
+
142
+
143
+
120
144
For information, see [Send notifications to UWP apps by using Azure Notification Hubs](notification-hubs-windows-store-dotnet-get-started-wns-push-notification.md).
121
145
122
-
## Microsoft Push Notification Service for Windows Phone
123
-
124
-
> [!NOTE]
125
-
> Microsoft Push Notification Service (MPNS) has been deprecated and is no longer supported.
126
-
127
-
To set up Microsoft Push Notification Service (MPNS) for Windows Phone:
128
-
129
-
1. In the Azure portal, on the **Notification Hub** page, select **Windows Phone (MPNS)** from the left menu.
130
-
1. Enable either unauthenticated or authenticated push notifications:
131
-
132
-
a. To enable unauthenticated push notifications, select **Enable unauthenticated push** > **Save**.
133
-
134
-

135
-
136
-
b. To enable authenticated push notifications:
137
-
* On the toolbar, select **Upload Certificate**.
138
-
* Select the file icon, and then select the certificate file.
139
-
* Enter the password for the certificate.
140
-
* Select **OK**.
141
-
* On the **Windows Phone (MPNS)** page, select **Save**.
142
-
143
-
For more information, see [Push notifications to Windows Phone apps by using Notification Hubs](notification-hubs-windows-mobile-push-notifications-mpns.md).
144
-
145
146
## Baidu (Android China)
146
147
147
148
To set up push notifications for Baidu:
148
149
149
150
1. In the Azure portal, on the **Notification Hub** page, select **Baidu (Android China)** from the left menu.
150
151
2. Enter the **API Key** that you obtained from the Baidu console in the Baidu cloud push project.
151
152
3. Enter the **Secret Key** that you obtained from the Baidu console in the Baidu cloud push project.
152
-
4. Select **Save**.
153
-
154
-

153
+
1. Select **Save**.
155
154
155
+

156
+
157
+
158
+
156
159
When you complete these steps, an alert indicates that the notification hub has been successfully updated. The **Save** button is disabled.
157
160
158
161
For more information, see [Get started with Notification Hubs by using Baidu](notification-hubs-baidu-china-android-notifications-get-started.md).
@@ -166,5 +169,5 @@ To learn more about how to push notifications to various platforms, see these tu
166
169
*[Send push notifications to iOS apps using Azure Notification Hubs](ios-sdk-get-started.md)
167
170
*[Send notifications to Android devices by using Notification Hubs and Google FCM](notification-hubs-android-push-notification-google-fcm-get-started.md)
168
171
*[Send notifications to a UWP app running on a Windows device](notification-hubs-windows-store-dotnet-get-started-wns-push-notification.md)
169
-
*[Send notifications to a Windows Phone 8 app by using MPNS](notification-hubs-windows-mobile-push-notifications-mpns.md)
170
172
*[Send notifications by using Notification Hubs and Baidu cloud push](notification-hubs-baidu-china-android-notifications-get-started.md)
0 commit comments