Contents

pushToken

The token you use to send ActivityKit push notifications to a Live Activity.

Declaration

var pushToken: Data? { get }

Mentioned in

Discussion

The push token for a Live Activity may change over time. Use the pushTokenUpdates asynchronous sequence to receive the updated push 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