Time sensitive notifications
Asked on 2024-07-22
1 search
Time Sensitive Notifications
Apple introduced a new way to broadcast updates for live activities to a large audience with a single push notification in the session Broadcast updates to your Live Activities. This feature is particularly useful for scenarios where many people are actively viewing updates for the same event, such as sports scores or flight updates.
Key Points:
- Channel Concept: Each event is associated with a unique channel ID. Live activities subscribe to this channel to receive updates.
- High Priority Notifications: You can set the priority of notifications to ensure they are delivered immediately.
- Channel Management: Channels are independent of live activities and can be reused for subsequent events. However, the total number of active channels is limited, so old or unused channels should be removed using the channel management API.
For more detailed information, you can refer to the following chapters in the session:
Additionally, the session Use CloudKit Console to monitor and optimize database activity discusses configuring notification settings in the CloudKit Console, which can be useful for monitoring and receiving alerts about database activity.

Use CloudKit Console to monitor and optimize database activity
Discover the new observability features in CloudKit Console. Learn how to use Telemetry and Logging to troubleshoot and optimize your app. Find out how to set up alerts to monitor your application’s behavior and notifications to stay on top of the container events that are most important to you. To get the most out of this session, we recommend being familiar with CloudKit containers.

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.
