From 4149df61f4ddb25c15d4eb55f7ced12b18650be8 Mon Sep 17 00:00:00 2001 From: Corey Date: Tue, 11 Feb 2025 03:58:20 -0800 Subject: [PATCH 1/2] docs: Add notification priority 1 information --- doc/notification.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/notification.markdown b/doc/notification.markdown index a018e205..b369df17 100644 --- a/doc/notification.markdown +++ b/doc/notification.markdown @@ -192,6 +192,7 @@ Provide one of the following values: * `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. + * `1` - The push message is sent at a time to prioritize the device’s power considerations over all other factors for delivery, and prevent awakening the device. #### notification.pushType @@ -202,4 +203,4 @@ The type of the notification. The value of this header is `alert`, `background`, 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. -[pl]:https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CreatingtheNotificationPayload.html "Local and Push Notification Programming Guide: Apple Push Notification Service" \ No newline at end of file +[pl]:https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CreatingtheNotificationPayload.html "Local and Push Notification Programming Guide: Apple Push Notification Service" From ad80c66057455a7cf41762dfc11fa9cb9282f888 Mon Sep 17 00:00:00 2001 From: Corey Date: Tue, 11 Feb 2025 09:21:51 -0800 Subject: [PATCH 2/2] nit --- doc/notification.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/notification.markdown b/doc/notification.markdown index b369df17..9a00a54f 100644 --- a/doc/notification.markdown +++ b/doc/notification.markdown @@ -191,8 +191,8 @@ Provide one of the following values: * `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. - * `1` - The push message is sent at a time to prioritize the device’s power considerations over all other factors for delivery, and prevent awakening the device. + * `5` - The push notification is sent at a time that conserves power on the device receiving it. + * `1` - The push notification is sent at a time to prioritize the device’s power considerations over all other factors for delivery, and prevent awakening the device. #### notification.pushType