Skip to content

Conversation

@rrebase
Copy link

@rrebase rrebase commented Nov 26, 2022

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: .push-type.liveactivity.

Test plan

  • Successfully update a live activity with topic com.example.push-type.liveactivity

@rrebase rrebase marked this pull request as ready for review November 26, 2022 17:07
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