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 target-content-id & interruption-level & relevance-score to payload #106

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

Sai
Copy link
Contributor

@Sai Sai commented Aug 16, 2021

This PR adds 3 payload keys to the Apnotic::Notification class:

  • target-content-id The identifier of the window brought forward since iOS 13.
  • interruption-level Indicates the importance and delivery timing of a notification for iOS 15.
  • relevance-score Number to specify the sort of the notifications for iOS 15.

Ref:
https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification#2943363
https://developer.apple.com/documentation/usernotifications/unnotificationinterruptionlevel
https://developer.apple.com/documentation/usernotifications/unnotificationcontent/3821031-relevancescore
#105

@benubois benubois merged commit 2e49648 into ostinelli:master Sep 7, 2021
@benubois
Copy link
Collaborator

benubois commented Sep 7, 2021

Thank you!

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