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: includes/notification-hubs-enable-apple-push-notifications.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,13 +68,13 @@ To send push notifications to an iOS app, register your application with Apple,
68
68
69
69
4. In the **Certificates, Identifiers & Profiles** page, under **Identifiers**, locate the App ID line item that you just created, and select its row to display the **Edit your App ID Configuration** screen.
70
70
71
-
## Creating a Certificate for Notification Hub
72
-
A certificate is required to enable the **Notification Hub** to work with **APNS**. This can be done in one of two ways:
71
+
## Creating a Certificate for Notification Hubs
72
+
A certificate is required to enable the notification hub to work with **APNS**. This can be done in one of two ways:
73
73
74
-
1.Creating a **.p12** that can be uploaded directly to Notification Hub
75
-
2.Creating a **.p8** that can be used for [token-based authentication](https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-http2-token-authentification) (*the newer approach*)
74
+
1.Create a **.p12** that can be uploaded directly to Notification Hub.
75
+
2.Create a **.p8** that can be used for [token-based authentication](https://docs.microsoft.com/azure/notification-hubs/notification-hubs-push-notification-http2-token-authentification) (*the newer approach*).
76
76
77
-
The newer approach has a number of benefits (compared to using certificates) as documented in [Token-based (HTTP/2) authentication for APNS](https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-http2-token-authentification). However, steps have been provided for both approaches.
77
+
The newer approach has a number of benefits (compared to using certificates) as documented in [Token-based (HTTP/2) authentication for APNS](https://docs.microsoft.com/azure/notification-hubs/notification-hubs-push-notification-http2-token-authentification). However, steps have been provided for both approaches.
78
78
79
79
### OPTION 1: Creating a .p12 push certificate that can be uploaded directly to Notification Hub
80
80
@@ -122,9 +122,9 @@ The newer approach has a number of benefits (compared to using certificates) as
122
122
123
123
### OPTION 2: Creating a .p8 certificate that can be used for token-based authentication
124
124
125
-
1.Take a note of the following details:
125
+
1.Make note of the following details:
126
126
127
-
-**App ID Prefix** (a.k.a.**Team ID**)
127
+
-**App ID Prefix** (this is a**Team ID**)
128
128
-**Bundle ID**
129
129
130
130
2. Back in **Certificates, Identifiers & Profiles**, click **Keys**.
@@ -133,15 +133,15 @@ The newer approach has a number of benefits (compared to using certificates) as
133
133
> If you already have a key configured for **APNS**, you can re-use the .p8 certificate that you downloaded right after it was created. If so, you can ignore steps **3** through **5**.
134
134
135
135
3. Click the **+** button (or the **Create a key** button) to create a new key.
136
-
4. Provide a suitable **Key Name** value, then tick to enable **Apple Push Notifications service (APNs)**, and then click **Continue**, followed by **Register** on the next screen.
136
+
4. Provide a suitable **Key Name** value, then check the **Apple Push Notifications service (APNs)** option, and then click **Continue**, followed by **Register** on the next screen.
137
137
5. Click **Download** and then move the **.p8** file (prefixed with *AuthKey_*) to a secure local directory, then click **Done**.
138
138
139
139
> [!NOTE]
140
-
> Be sure to keep this in a secure place (and save a backup). After downloading your key, it cannot be re-downloaded as the server copy is removed.
140
+
> Be sure to keep your .p8 file in a secure place (and save a backup). After downloading your key, it cannot be re-downloaded as the server copy is removed.
141
141
142
142
6. On **Keys**, click on the key that you just created (or an existing key if you have chosen to use that instead).
143
-
7.Take a note of the **Key ID** value.
144
-
8. Open your .p8 certificate in a suitable application of your choice such as [**Visual Studio Code**](https://code.visualstudio.com) then take a note of the key value. This is the value between **-----BEGIN PRIVATE KEY-----** and **-----END PRIVATE KEY-----** .
143
+
7.Make note of the **Key ID** value.
144
+
8. Open your .p8 certificate in a suitable application of your choice such as [**Visual Studio Code**](https://code.visualstudio.com) then make note of the key value. This is the value between **-----BEGIN PRIVATE KEY-----** and **-----END PRIVATE KEY-----** .
145
145
146
146
```
147
147
-----BEGIN PRIVATE KEY-----
@@ -202,7 +202,7 @@ In this section, you create a notification hub and configure authentication with
202
202
203
203
## Configure your notification hub with APNs information
204
204
205
-
Under **Notification Services**, select **Apple (APNS)** then follow the appopriate steps based on the approach you chose previously in the [Creating a Certificate for Notification Hub](#creating-a-certificate-for-notification-hub) section.
205
+
Under **Notification Services**, select **Apple (APNS)** then follow the appopriate steps based on the approach you chose previously in the [Creating a Certificate for Notification Hubs](#creating-a-certificate-for-notification-hubs) section.
206
206
207
207
> [!NOTE]
208
208
> Use the **Production** for **Application Mode** only if you want to send push notifications to users who purchased your app from the store.
@@ -236,4 +236,4 @@ Under **Notification Services**, select **Apple (APNS)** then follow the appopri
236
236
1. Choose **Sandbox**
237
237
1. Select **Save**.
238
238
239
-
You've now configured your notification hub with APNs. You also have the connection strings to register your app and send push notifications.
239
+
You've now configured your notification hub with APNs. You also have the connection strings to register your app and send push notifications.
0 commit comments