Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's New
🎉 Push to Start Live Activities
Starting with iOS 17.2, Live Activities can now be started via push notification (Apple's documentation). This change enhances the OneSignal SDK to provide application's access to the full suite of Live Activity functionality.
To use Push To Start Live Activities, see documentation on How to start a Live Activity with a remote push notification.
Default Live Activity
The concept of a "Default" Live Activity has been established in the SDK, which eliminates the need for a customer app to define and manage their own
ActivityAttributes
. The primary use case of the "Default" Live Activity is to facilitate easier cross-platform adoption.OneSignal.LiveActivities.setupDefault()
which tells the OneSignal SDK to manage the LiveActivity lifecycle for theDefaultLiveActivityAttributes
type. When calling this method, a customer can use bothpush-to-start
andpush-to-update
notifications to start/update/end their Default Live Activity.OneSignal.LiveActivities.startDefault(activityId, activityAttributes, initialContentState)
which allows a customer app to start a live activity based on theDefaultLiveActivityAttributes
type "in app".Four New APIs for Live Activities
Please see the PR description for more details.
🔧 Native SDK Dependency Updates
Update Android SDK from
5.1.10
to5.1.13
🐛 Bug Fixes
🔧 Maintenance
OneSignal-Install-Id
that allows the OneSignal's backend know where traffic is coming from (2072)Update iOS SDK from
5.1.6
to5.2.0
This change is