According to Apple's APNs docs, as of iOS 13 clients of the http api must send header fields for apns-push-type and apns-priority or the requests will fail.
Sure enough, our users who've udpated to the iOS 13 beta aren't getting silent push notifications that we send through Pushwoosh
In my code level (in my Xcode)in did all changes whichever is required.
Now only thing is pending that 2 header has to add in payload. (Here is the article)
First attribute/parameter to the headers for APNS Payloads: apns-push-type
(Key: apns-push-type and Value: alert or background)
Second attribute/parameter to the headers for APNS Payloads: apns-priority
(Key: apns-push-type and Value: alert or background)
Where these 2 header fields with values has to be add ?
Either from backend database or PushWhoosh ?
Or my code level?
Can anyone help for this?
Because it says that,
“These headers required when delivering notifications to devices running iOS 13”. Furthermore “if the header is missing on required systems, APNs may delay the delivery of the notification or drop it altogether.”
For more information refer following articles,