PyAPNs2 icon indicating copy to clipboard operation
PyAPNs2 copied to clipboard

Add support for NotificationType LiveActivity

Open rrebase opened this issue 3 years ago • 0 comments

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

  1. 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:

  1. 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

rrebase avatar Nov 26 '22 15:11 rrebase