Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Just a minor confusion. Why we need a separate Voip Service Certificate for Pushkit when we have Universal Client SSL certificate for APNS which supports primary app, voip etc?

As per latest Apple docs,

enter image description here

enter image description here

If my app supports multiple topics (voip/non-voip), is it not better to use single APNS SSL certificate rather than separate certificates? This will also make sure same connection (APNS Provider to APNS) can be used for delivering both Voip Push as well as standard Push.

like image 950
Ayush Avatar asked Aug 09 '16 06:08

Ayush


People also ask

What is VoIP certificate?

The App ID-specific VoIP Services certificate allows your notification server to connect to the VoIP Service.

What is APNs VoIP?

VoIP push notifications are a special type of push notifications that Apple support as part of Apple Push Notification service (APNs) which enables fast and high-priority notifications.

What happens if Apple push certificate expires?

The push certificate cannot be renewed. You have to create a new one. The push notification certificate is not part of the application build. Therefore for push to continue working you only have to create a new certificate and deploy the p12 file (or whatever other format you are using) at your server.


2 Answers

You don't. The universal will work with both APNS and PushKit. Your server signals which one it wants by setting the appropriate "topic" on the push notification.

like image 85
chadbag Avatar answered Oct 14 '22 19:10

chadbag


According to apple's 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.

Clauses 2-6 are the advantages of VoIP compared to APNs, but they are not suitable to given to common apps.So they must be separated.

like image 43
wj2061 Avatar answered Oct 14 '22 19:10

wj2061