how do you get a push-to-start token?

Generated on 4/29/2025

1 search

To obtain a push-to-start token for updating a live activity, the app requests a push token from ActivityKit when a live activity is started. ActivityKit receives this push token from the Apple Push Notification Service (APNs) and provides it to the app. This push token is unique for each live activity requested by the app on the device. The app then shares this unique push token with its app server. When there is an update, the server sends a push notification to APNs with the token and the payload, and APNs delivers the payload to the respective device.

For more details, you can refer to the session Broadcast updates to your Live Activities.

Unlock the power of places with MapKit

Unlock the power of places with MapKit

Discover powerful new ways to integrate maps into your apps and websites with MapKit and MapKit JS. Learn how to save and reference unique places using Place ID. Check out improvements to search that make it more efficient to find relevant places. Get introduced to the new Place Card API that lets you display rich information about places so customers can explore destinations right in your app. And, we’ll show you quick ways to embed maps in your website with our simplified token provisioning and Web Embed API.

What’s new in privacy

What’s new in privacy

At Apple, we believe privacy is a fundamental human right. Learn about new and improved permission flows and other features that manage data in a privacy-preserving way, so that you can focus on creating great app experiences.

What’s new in device management

What’s new in device management

Learn about the latest management capabilities for iOS, iPadOS, macOS, and visionOS, then discover the latest changes to Apple Business Manager and Apple School Manager. We’ll also share updates to Activation Lock, SoftwareUpdate, and Safari management.

Streamline sign-in with passkey upgrades and credential managers

Streamline sign-in with passkey upgrades and credential managers

Learn how to automatically upgrade existing, password-based accounts to use passkeys. We’ll share why and how to improve account security and ease of sign-in, information about new features available for credential manager apps, and how to make your app information shine in the new Passwords app.

Platforms State of the Union

Platforms State of the Union

Discover the newest advancements on Apple platforms.

Broadcast updates to your Live Activities

Broadcast updates to your Live Activities

With broadcast push notifications, your app can send updates to thousands of Live Activities with a single request. We’ll discover how broadcast push notifications work between an app, a server, and the Apple Push Notification service, then we’ll walk through best practices for this capability and how to implement it.