docs: Add notification priority 1 information#174
Closed
cbaker6 wants to merge 2 commits intoparse-community:masterfrom
Closed
docs: Add notification priority 1 information#174cbaker6 wants to merge 2 commits intoparse-community:masterfrom
cbaker6 wants to merge 2 commits intoparse-community:masterfrom
Conversation
Thanks for opening this pull request!
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #174 +/- ##
==========================================
+ Coverage 93.53% 95.79% +2.25%
==========================================
Files 23 23
Lines 588 832 +244
==========================================
+ Hits 550 797 +247
+ Misses 38 35 -3 ☔ View full report in Codecov by Sentry. |
Author
|
@mtrezza this is ready for review. |
mtrezza
reviewed
Feb 11, 2025
|
|
||
| * `10` - The push notification is sent to the device immediately. (Default) | ||
| > The push notification must trigger an alert, sound, or badge on the device. It is an error to use this priority for a push notification that contains only the `content-available` key. | ||
| * `5` - The push message is sent at a time that conserves power on the device receiving it. |
Member
There was a problem hiding this comment.
Are we repeating the Apple push docs here or is that all specific to the package?
Author
There was a problem hiding this comment.
This is repeating the apple docs. Many of the properties in this doc are repeating
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From the APN docs: https://developer.apple.com/documentation/usernotifications/sending-notification-requests-to-apns:
Specify 1 to prioritize the device’s power considerations over all other factors for delivery, and prevent awakening the device.