PyAPNs2
PyAPNs2 copied to clipboard
Add support for NotificationType LiveActivity
Description
Apple Introduced Live Activities in iOS 16.1, where updates via remote pushes require usage of a new push type liveactivity
From the docs: https://developer.apple.com/documentation/activitykit/update-and-end-your-live-activity-with-remote-push-notifications
- Set the value for the apns-push-type header field of the request you sent to APNs to liveactivity.
We can infer it based on the format mentioned in the following statement:
- Set the apns-topic header field of the request you sent to APNs using the following format: <your bundleID>.push-type.liveactivity.
Test plan
- [x] Successfully update a live activity with topic
com.example.push-type.liveactivity