引入APNS Universal Client SSL Certificate 后,为什么Pushkit 还需要单独的Voip 证书?

Why separate Voip certificate is required for Pushkit when APNS Universal Client SSL Certificate has been introduced?

只是一个小混乱。当我们拥有支持主要应用程序、voip 等的 APNS 通用客户端 SSL 证书时,为什么我们需要单独的 Pushkit Voip 服务证书?

As per latest Apple docs

如果我的应用程序支持多个主题 (voip/non-voip),使用单个 APNS SSL 证书而不是单独的证书不是更好吗? 这也将确保相同连接(APNS 提供商到 APNS)可用于传送 Voip 推送和标准推送。

根据苹果的 documents

There are many advantages to using PushKit to receive VoIP pushes:

  • The device is woken only when VoIP pushes occur, saving energy.

  • Unlike standard push notifications, which the user must respond to before your app can perform an action, VoIP pushes go straight to
    your app for processing.

  • VoIP pushes are considered high-priority notifications and are delivered without delay.
  • VoIP pushes can include more data than what is provided with standard push notifications.
  • Your app is automatically relaunched if it’s not running when a VoIP push is received.
  • Your app is given runtime to process a push, even if your app is operating in the background.

条款2-6是VoIP相对于APNs的优点,但是不适合给大家通用apps.So必须分开。

你不知道。通用将与 APNS 和 PushKit 一起工作。您的服务器通过在推送通知上设置适当的 "topic" 来发出它想要的信号。