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/voip-apns.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,23 +21,23 @@ It is possible to use APNS VOIP notifications through Azure Notification Hubs; h
21
21
22
22
## Considerations
23
23
24
-
If you still choose to send APNS VOIP notifications through Notification Hubs, please be aware of the following limitations:
24
+
If you still choose to send APNS VOIP notifications through Notification Hubs, be aware of the following limitations:
25
25
26
26
- Sending a VOIP notification requires the `apns-topic` header to be set to the application bundle ID + the .voip suffix. For example, for a sample app with the bundle ID `com.microsoft.nhubsample`, the `apns-topic` header should be set to `com.microsoft.nhubsample.voip.`
27
27
28
-
This doesn't work well with Azure Notification Hubs, because the app's bundle ID must be configured as part of the hub's APNS credentials, and the value cannot be changed. Also, Notification Hubs does not allow the value of the `apns-topic` header to be overridden at runtime.
28
+
This method doesn't work well with Azure Notification Hubs, because the app's bundle ID must be configured as part of the hub's APNS credentials, and the value cannot be changed. Also, Notification Hubs does not allow the value of the `apns-topic` header to be overridden at runtime.
29
29
30
30
To send VOIP notifications, you must configure a separate notification hub with the **.voip** app bundle ID.
31
31
32
32
- Sending a VOIP notification requires the `apns-push-type` header to be set to the value `voip`.
33
33
34
-
To help customers with the transition to iOS 13, Notification Hubs attempts to infer the correct value for the `apns-push-type` header. The inference logic is intentionally simple, in an effort to avoid breaking standard notifications. Unfortunately, this causes issues with VOIP notifications, because Apple treats VOIP notifications as a special case that does not follow the same rules as standard notifications.
34
+
To help customers with the transition to iOS 13, Notification Hubs attempts to infer the correct value for the `apns-push-type` header. The inference logic is intentionally simple, in an effort to avoid breaking standard notifications. Unfortunately, this method causes issues with VOIP notifications, because Apple treats VOIP notifications as a special case that does not follow the same rules as standard notifications.
35
35
36
36
To send VOIP notifications, you must specify an explicit value for the `apns-push-type` header.
37
37
38
38
- Notification Hubs limits APNS payloads to 4 KB, as documented by Apple. For VOIP notifications, Apple allows payloads up to 5 KB. Notification Hubs does not differentiate between standard and VOIP notifications; therefore, all notifications are limited to 4 KB.
39
39
40
-
To send VOIP notifications, you must not exceed the 4KB payload size limit.
40
+
To send VOIP notifications, you must not exceed the 4-KB payload size limit.
0 commit comments