Releases: OneSignal/OneSignal-iOS-SDK
Release 5.2.1
🐛 Bug Fixes
- Fix warning about decoding a boolean (#1436)
- Fix a purchases bug for the amount spent (#1444)
- Fix a build issue for mac catalyst (#1446)
- Fix crash when IAM window fails to load by using the main thread (#1447)
🔧 Maintenance
- Network call optimizations: Combine user property updates for network call improvements (#1444)
Release 5.2.0
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.
NEW Preferred method to setup Live Activities with OneSignal
A 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. A typical usage looks like this:
OneSignal.LiveActivities.setup(MyWidgetAttributes.self)
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 SDK adoption.
Please see the PR description for more details.
- Push to start live activities added to the 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 (#1431)
- Update User Defaults API reason to include app groups for appropriate modules (#1429)
🐛 Bug Fixes
- [Bug] Fix rare scenario of dropping data when multiple logins are called (#1427)
Release 5.1.6
What's Changed
🐛 Bug Fixes
- [Bug] Some pending properties can be sent to new user, when users change quickly after the last updates are made (#1418)
- Fix crashes when encoding user models (#1412)
- Fix crash in
OneSignalAttachmentHandler
trimURLSpacing
method (#1411) - Fix crash when handling a dialog result when stack traces point to
delayResult
(#1417) - [Bug] Remove IAM window when an in app message is inactive (#1413)
Release 5.1.5
✨ In-App Message Enhancements
- The status bar will be hidden on full-bleed In-App Messages by @jennantilla in #1390
- Add back the dropshadow on In-App Messages and include a
plist
option to disable it by @emawby in #1395 - Add
plist
option to override and hide the gray overlay to In-App Messages by @jennantilla in #1396
OneSignal_in_app_message_hide_gray_overlay
Full Changelog: 5.1.4...5.1.5
Release 5.2.0-beta-01
🎉 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.
Release 5.1.4
What's Changed
🎉 New Features for Apple Privacy Requirements
- The XCFrameworks in this release is signed to help keep your apps secure
🐛 Bug Fixes
- Fix rare scenario where login requests are stuck and prevent the SDK from making updates (#1398)
Release 3.12.9
What's Changed
🎉 New Features for Apple Privacy Requirements
- Fixed and added more privacy manifests to all products in #1392
- The XCFrameworks in this release is signed to help keep your apps secure
Full Changelog: 3.12.8...3.12.9
Release 3.12.8
What's Changed
- Added privacy manifests in #1360
- The XCFrameworks in this release is signed to help keep your apps secure
Full Changelog: 3.12.7...3.12.8
Release 5.1.3
What's Changed
⚠️ Behavior Changes
- When you call the
jsonRepresentation
method ofOSPushSubscriptionState
, if a property is null, the value will now be""
instead of the string literal"nil"
in #1373
🐛 Bug Fixes & Misc Improvements
Release 5.1.2
🚧 Do not use 🚧
- Please use version 5.1.3 which includes the same changes