onmyway133 / PushNotifications

🐉 A macOS, Linux, Windows app to test push notifications on iOS and Android
https://onmyway133.com
Other
2.26k stars 176 forks source link

Adding support for iOS Live Activity push notifications #70

Closed mvandervelden closed 1 year ago

mvandervelden commented 1 year ago

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:

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 commented 1 year ago

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.

mvandervelden commented 1 year ago

@Ariandr thanks for approving and merging! 🙇

Ariandr commented 1 year ago

@mvandervelden always happy to see people contributing❤️