PushKit(VoIP Push) against iOS 13

I have a question about PushKit(VoIP Push) against iOS 13.




As already announced, APNs will not accept push messages to the device



updated iOS 13 unless messages contain new header field "apns-push-type".



I'm wondering that this change applies to a voip push message



as well as a push notification.





So, my question is,



When I send the voip push message to a device with iOS 13 via APNs,



Must the message have a new header field “apns-push-type”?





Please answer my question.



Sincerely,

Replies

We made some tests in order to understand how the new header affects for voip push notifications and we saw that it does not affect to voip push. I wish also to see an official documentation about that.

Here is a description:

https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns

"The value of this header must accurately reflect the contents of your notification's payload. If there is a mismatch, or if the header is missing on required systems, APNs may delay the delivery of the notification or drop it altogether."

From my testing today this header appears to be bugged for VoIP type push notifications. Setting 'alert' or 'background' for the apns-push-type header results in an InvalidPushType error being returned from APNS.


There currently appears to be two fixes:


1) Omit the header

2) Set the push type to 'voip' (undocumented, discovered by chance)


Any advice here is appreciated.

Seeing the same issue - not able to send any PushKit/VOIP pushes.


Is 'voip' a valid value for that header?


-Thanks