OneSignal / OneSignal-iOS-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Other
496 stars 263 forks source link

Release 5.2.0-beta-01 #1402

Closed nan-li closed 7 months ago

nan-li commented 7 months ago

πŸŽ‰ 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.


I was able to test Cocoapods but not able to successfully test SPM. A change to update_swift_package was needed.


This change is Reviewable