Learn how to use iOS Live Activities with OneSignal to deliver real-time updates directly to the lock screen and Dynamic Island. Enable seamless tracking for events like sports scores, deliveries, and more.
Live Activities Examples
support@onesignal.com
for assistance.dismissal_date
parameter in the Update Live Activity API).Start a Live Activity
Update a Live Activity
activity_id
to update all associated devices.End a Live Activity
activityId
.dismissal_date
or native iOS methods (e.g., activity.end(dismissalPolicy: .immediate)
).NSSupportsLiveActivitiesFrequentUpdates
to your Info.plist as a Boolean type set to YES as directed in Apple’s Developer Docs. Users will be presented with a dialog when the Live Activity exceeds its push budget, and if they allow the Live Activity to continue, the budget will automatically be increased for a seamless user experience.
support@onesignal.com
for assistance.
priority: 10
) updates, but they do enforce a dynamic system-level budget. Sending too many high-priority updates in a short period may result in throttling, where updates are delayed or dropped.
To reduce the risk of throttling:
priority: 5
(standard) and priority: 10
(high) for balance.priority: 10
for time-sensitive or critical updates only (e.g., order status changes, game scores).NSSupportsLiveActivitiesFrequentUpdates
to your app’s Info.plist
file, set as a Boolean YES
.