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.

Support for apns-push-type

See original GitHub issue

Via https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns?language=objc:

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 is alert or background. Specify alert when the delivery of your notification displays an alert, plays a sound, or badges your app’s icon. Specify background 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jchamberscommented, Jun 6, 2019

Ha—okay. Thanks. Sounds like it’s time for the post-WWDC “figure out what changed” festivities!

0reactions
icodebustercommented, Jun 29, 2019

@jchambers Any expected timeline for v0.13.9 to be released. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sending Notification Requests to APNs - Apple Developer
Send apns-push-type header with each push. Push type is designed to ensure that your users have the best experiences with notifications. Recent and...
Read more >
Amazon SNS Now Supports the New apns-push-type Header ...
Amazon Simple Notification Service (SNS) now supports the new apns-push-type header field for mobile notifications sent through the Apple ...
Read more >
What are the push type options for iOS devices?
What a given push type is used for? ... alert push type is meant for notifications that trigger a user interaction- an alert,...
Read more >
How Apple Push Certificates Work and Why Their Notification ...
Apple requires the Apple Push Notification service (APNs) certificate to be renewed every year. Learn all about push notifications and why ...
Read more >
Support for apns-push-type · Issue #701 · jchambers/pushy
If there is a mismatch, or if the header is missing on required systems, APNs may delay the delivery of the notification or...
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