VOIP Push for backgrounded app using Pushy

816 views
Skip to first unread message

Ayush Jain

unread,
Jun 17, 2016, 6:33:51 AM6/17/16
to pushy
Hi All,

Am pretty new to apns. Please help me with a query related to Voip Push using Pushy.

With the introduction of APNS Http/2.0 interface, are we not required to use Voip Service Certificate, as previously by default VOIP Pushes sent using Voip Service certificate were considered as high priority Pushes ?

If APNS SSL certificate will work for voip as well, that means if my app bundle ID is 'com.sample.myapp', I would need to specify apns-topic as 'com.sample.myapp.voip' with apns-priority as 10 while using Pushy? And will I be able to receive these notifications using Pushkit to make sure they get delivered to app directly?

I guess Apple doc din't really link usage of Pushkit with the new APNS http/2 interface, & still in VOIP optimization guide (https://developer.apple.com/library/ios/documentation/Performance/Conceptual/EnergyGuide-iOS/OptimizeVoIP.html) , apple is recommending the usage of Voip Service Certificate.

Would really appreciate any response on the same.

Regards,
_Ayush

Jon Chambers

unread,
Jun 17, 2016, 10:12:15 AM6/17/16
to pushy
Oops—I answered this privately, but for the benefit of the wider audience, here's the summary:

> are we not required to use Voip Service Certificate…?

That's mostly true. If you're using the new HTTP/2-based APNs API, you can use a multi-topic certificate to send notifications to your app and to VOIP services. That said, old certificates are still bound to just one topic, and just switching to HTTP/2 won't change that; you'll need to generate a new certificate, too.

> I would need to specify apns-topic as 'com.sample.myapp.voip' with apns-priority as 10 while using Pushy?

That's my understanding, yes.

I'm not really sure about Pushkit in particular, and will have to defer to somebody else there.

Hope that helps!

-Jon

--
Pushy is an open-source Java library for sending APNs (iOS and OS X) push notifications. Pushy is brought to you by the engineers at RelayRides.
---
You received this message because you are subscribed to the Google Groups "pushy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pushy-apns+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ayush Jain

unread,
Jun 20, 2016, 6:52:23 AM6/20/16
to pushy
Thanks Jon.

Am still not sure as of now whether we would be able to receive APNS Voip Pushes sent using APNS SSL certificate using Pushkit. 

Will update here once I get to know the same.

Regards,
_Ayush
Reply all
Reply to author
Forward
0 new messages