Support for apns-push-type
See original GitHub issue
apns-push-type
(Required when delivering notifications to devices running iOS 13 and later, or watchOS 6 and later. Ignored on earlier system versions.) The type of the notification. The value of this header isalert
orbackground
. Specifyalert
when the delivery of your notification displays an alert, plays a sound, or badges your app’s icon. Specifybackground
for silent notifications that do not interact with the user.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.
For information about configuring notification alerts, see Generating a Remote Notification. For more information about sending background notifications, see Pushing Background Updates to Your App.
Thanks, Nick
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Ha—okay. Thanks. Sounds like it’s time for the post-WWDC “figure out what changed” festivities!
@jchambers Any expected timeline for v0.13.9 to be released. Thank you.