Contents

pushToStartToken

The token you use to start a Live Activity with an ActivityKit push notification.

Declaration

static var pushToStartToken: Data? { get }

Discussion

The push token for a Live Activity may change over time. Use the pushToStartTokenUpdates asynchronous sequence to receive an updated push-to-start token. When you receive an updated push token, make sure to send it to your server and invalidate the outdated token.

See Also

Using ActivityKit push notifications