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

Adding support for iOS Live Activity push notifications #70

Merged
merged 1 commit into from Sep 22, 2022
Merged

Adding support for iOS Live Activity push notifications #70

merged 1 commit into from Sep 22, 2022

Conversation

mvandervelden
Copy link
Contributor

Background

As mentioned in these Apple Docs about the upcoming Live Activities feature. This feature will support using APNs push notifications, for which some specific headers are required:

  • The apns-topic header should have the format <your bundleID>.push-type.liveactivity
  • The apns-push-type header should be liveactivity.

This PR

With this change, the Push Notifications app should support this new type of notifications, if users provide the correct apns-topic as bundleId (<your bundleID>.push-type.liveactivity).

Let me know if anything in the PR requires changing. This set up seems to work for me locally.

@Ariandr
Copy link
Collaborator

Ariandr commented Sep 22, 2022

Hi @mvandervelden
Thank you for this PR.

The code change is straightforward, so If you tested and it works, I'll create a new release with this change.

Copy link
Collaborator

@Ariandr Ariandr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Ariandr Ariandr merged commit 0175151 into onmyway133:master Sep 22, 2022
@mvandervelden
Copy link
Contributor Author

@Ariandr thanks for approving and merging! 🙇

@Ariandr
Copy link
Collaborator

Ariandr commented Sep 27, 2022

@mvandervelden always happy to see people contributing❤️

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.

None yet

2 participants