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:
"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?