If the Live Activity is on, would it suppress the Push Notification and only update the Live Activity?
Generated on 8/1/2024
1 search
When a Live Activity is active, it does not suppress push notifications but rather updates the Live Activity with the new information. This ensures that the Live Activity always has the latest information. For example, in the session Broadcast updates to your Live Activities, it is explained how push notifications are used to update a Live Activity. The app requests a push token from ActivityKit, which is then used by the server to send updates via APNs to the respective device.
Additionally, in the session Design Live Activities for Apple Watch, it is mentioned that Live Activities are designed to demand the right amount of attention based on user interaction, similar to notifications. This means that while a Live Activity is active, it will receive updates through push notifications, but it does not suppress other notifications; instead, it integrates the updates into the Live Activity display.
Relevant Sessions
Bring your Live Activity to Apple Watch
Bring Live Activities into the Smart Stack on Apple Watch with iOS 18 and watchOS 11. We’ll cover how Live Activities are presented on Apple Watch, as well as how you can enhance their presentation for the Smart Stack. We’ll also explore additional considerations to ensure Live Activities on Apple Watch always present up-to-date information.
Design Live Activities for Apple Watch
Starting in watchOS 11, Live Activities from your iOS app will automatically appear in the Smart Stack on a connected Apple Watch. Learn how to optimize the layout of your Live Activity for the wrist, and provide the right level of information and interactivity at the right time.
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.