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

Add push flags #89

Merged
merged 6 commits into from
Dec 5, 2024
Merged

Add push flags #89

merged 6 commits into from
Dec 5, 2024

Conversation

abnegate
Copy link
Member

@abnegate abnegate commented Dec 3, 2024

What does this PR do?

Add new push flags:

  • contentAvailable (iOS only): when set, notifications will wake up the app in the background to deliver the notification
  • critical (iOS only): when set, tries to mark notification as "critical" and ignore do not disturb settings. Requires app to be granted the critical notification entitlement.
  • priority. Let's you set either normal or high priority for notifications. Normal priority will deliver at the most convenient time depending on multiple factors

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

@abnegate abnegate changed the title Add content available flag Add push flags Dec 4, 2024
@abnegate abnegate requested a review from stnguyen90 December 4, 2024 07:15
@abnegate abnegate merged commit 0e3e573 into main Dec 5, 2024
3 checks passed
@abnegate abnegate deleted the feat-apns-content-available branch December 5, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants