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 content-available option to alert #209

Closed
wants to merge 1 commit into from

Conversation

hyouuu
Copy link

@hyouuu hyouuu commented Sep 14, 2024

Currently you can either send an alert or send a background notification, but often times apps want to be waken up while showing an alert so they can do background data fetch etc, so why not adding the option (surprised that nobody raised this question before)

@hyouuu
Copy link
Author

hyouuu commented Sep 15, 2024

Actually just found this regarding code execution should be dealt by a Notification Service Extension: https://developer.apple.com/forums/thread/745188 any ideas if that's actually the right approach and we shouldn't add content-available to alerts?

@kylebrowning
Copy link
Member

YEs, reading that content-available only works for background pushes

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