question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS 13 apns-push-type should be "voip" for voip push

See original GitHub issue

On iOS 13, VoIP pushes are getting rejected by APNs servers with the reason InvalidPushType. AS mentioned here, we require to send "apns-push-type" : "voip" for VoIP pushes. But, it’s not documented in the official docs.

I’ve tested it locally by sending a push to my device on iOS 13 and it is indeed true. Would need to add that in PushType enum as without that, I’m unable to use this lib.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bpdabrowskicommented, Sep 25, 2019

Confirmed in testing as well that apns-push-type should be set to voip for VoIP pushes.

1reaction
pankajsinghalcommented, Sep 25, 2019

I’ve created a PR for the same - https://github.com/relayrides/pushy/pull/720

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS 13 apns-push-type should be "voip" for voip push #719
On iOS 13, VoIP pushes are getting rejected by APNs servers with the reason InvalidPushType. AS mentioned here, we require to send ...
Read more >
PushKit(VoIP Push) against iOS 13 | Apple Developer Forums
When I send the voip push message to a device with iOS 13 via APNs,. Must the message have a new header field...
Read more >
is there an alternative to VoIP push when building the app for ...
1 Answer 1 ... You have to use background Push with Legacy Push Token. From 1st August VoIP Push is only for VoIP...
Read more >
iOS VoIP Notifications - Medium
With iOS 13 Apple now mandates that the VoIP notifications must be reported to CallKit framework. If your app repeatedly fails to report...
Read more >
Send APNS VOIP notifications with Azure Notification Hubs
Sending a VOIP notification requires the apns-push-type header to be set to the value voip . To help customers with the transition to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found