Posts

Post not yet marked as solved
1 Replies
No client-side changes are needed to move to the HTTP/2-based API. You may find that you need to send some new headers (`apns-push-type`) to send notifications to iOS 13 devices, but that's not exactly a function of which protocol you're using.
Post not yet marked as solved
1 Replies
> Both of the scenarios are sending the API calls over HTTP2. Is there any difference? Can these be used alternatively if i have signing keys for some apple accounts and certificates for other accounts?Yes, they can be used interchangeably.
Post marked as solved
4 Replies
> So just to be 100% sure are you saying that with HTTP/2 I can use “Apple Push Notification service SSL Certificate” instead of “VoIP Services Certificate”. So I would only need one cert for both VoiP and normal pushes. Is that correct?Please let me emphasize that I have never actually worked with VOIP via APNs, and so my understanding comes entirely from working the APNs as a protocol.So with that said: I don't know for sure. I believe that's correct, but can't verify it from experience. I don't know what a "VOIP services certificate" is for, but I'm confident that "normal" APNs certificate can send notifications to com.example.yourapp, com.example.yourapp.voip, and com.example.yourapp.complication. There may be more that needs to happen in the wider VOIP ecosystem, but in terms of sending an APNs notification to a VOIP topic, the non-VOIP certificate should be just fine.If you're using macOS, you can verify the APNs topics your certificate covers by using "quick view" on the certificate to see what metadata it contains.
Post marked as solved
4 Replies
APNs is APNs; there isn't a separate set of servers for "normal" APNs and VOIP APNs. You'll have a separate "topic" for VOIP notifications, but the same servers—and the same set of credentials—work for both use cases.
Post not yet marked as solved
4 Replies
Please see Table 1 in https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns.The important part is that the apns-push-type header is: "Required when delivering notifications to devices running iOS 13 and later, or watchOS 6 and later. Ignored on earlier system versions."Hope that helps!