What's New
🎉 Push to Start Live Activities
To use Push To Start Live Activities, see documentation on How to start a Live Activity with a remote push notification.
In addition, new function OneSignal.LiveActivities.setup
has been created which allows OneSignal to manage the lifecycle of a LiveActivity on behalf of the application. This includes listening for both pushToStart token updates and pushToUpdate token updates. When using this method, the application does not need to listen for pushToStart token updates, the starting of a live activity, nor update token updates.
The concept of a "Default" Live Activity has also been established in the SDK, which eliminates the need for a customer app to define and manage their own ActivityAttributes
.
Please see the PR description for more details.
- Push to start live activities added to the SDK (OneSignal/OneSignal-iOS-SDK#1377)
Other Changes
✨ Privacy Manifest Improvements
- Add additional 6 privacy manifests to the 6 sub-targets that are included in the primary targets clients import (OneSignal/OneSignal-iOS-SDK#1431)
- Update User Defaults API reason to include app groups for appropriate modules (OneSignal/OneSignal-iOS-SDK#1429)
🐛 Bug Fixes
- [Bug] Fix rare scenario of dropping data when multiple logins are called (OneSignal/OneSignal-iOS-SDK#1427)