Skip to content

Releases: OneSignal/OneSignal-iOS-SDK

Release 5.2.0

10 May 22:09
de18a72
Compare
Choose a tag to compare

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

01 May 04:07
487247b
Compare
Choose a tag to compare

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

16 Apr 02:02
6fa856b
Compare
Choose a tag to compare

✨ 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

Full Changelog: 5.1.4...5.1.5

Release 5.2.0-beta-01

11 Apr 22:40
d4bb7fa
Compare
Choose a tag to compare
Release 5.2.0-beta-01 Pre-release
Pre-release

🎉 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

05 Apr 23:32
3adc677
Compare
Choose a tag to compare

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

25 Mar 19:16
cd6e9a9
Compare
Choose a tag to compare

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

19 Mar 20:26
4705ba9
Compare
Choose a tag to compare

What's Changed

⚠️ Please use updated version 3.12.9 for full privacy requirement support

  • 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

06 Mar 21:26
5ff232e
Compare
Choose a tag to compare

What's Changed

⚠️ Behavior Changes

  • When you call the jsonRepresentation method of OSPushSubscriptionState, if a property is null, the value will now be "" instead of the string literal "nil" in #1373

🐛 Bug Fixes & Misc Improvements

  • Rename internal method that was called setSharedInstance to workaround false App Store flagging in #1375
  • Improve Swift concurrency safety to address crash reports in production #1376
  • For our server: Add OneSignal-Subscription-Id to Create User request which improves last_active data in #1372

Release 5.1.2

06 Mar 18:17
caf6dd9
Compare
Choose a tag to compare

🚧 Do not use 🚧

  • Please use version 5.1.3 which includes the same changes

Release 5.1.1

05 Mar 22:40
6d06079
Compare
Choose a tag to compare

🚧 Do not use 🚧

  • Please use version 5.1.3 which includes the same changes