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,
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.
The App ID-specific VoIP Services certificate allows your notification server to connect to the VoIP Service.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With