Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apns-priority has three enumeration values. Why do you only have 10 and 5 here, missing 1? #1088

Open
18645956947 opened this issue Nov 4, 2024 · 2 comments

Comments

@18645956947
Copy link

18645956947 commented Nov 4, 2024

`The priority of the notification. If you omit this header, APNs sets the notification priority to 10.

Specify 10 to send the notification immediately.

Specify 5 to send the notification based on power considerations on the user’s device.

Specify 1 to prioritize the device’s power considerations over all other factors for delivery, and prevent awakening the device.`

apns-priority has three enumeration values. Why do you only have 10 and 5 here, missing 1?

@petarov
Copy link
Contributor

petarov commented Nov 4, 2024

I believe 1 was simply not available thus far. It seems to me it was added around WWDC2024 with the introduction of broadcast live activity updates. See #1081

@jchambers
Copy link
Owner

I believe 1 was simply not available thus far.

That matches my understanding; we can certainly add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants