Releases: OneSignal/OneSignal-Unity-SDK
Releases · OneSignal/OneSignal-Unity-SDK
5.2.8
Channels: Current
🐛 Bug Fixes
- fix: [SDK-4523] Unity custom event nested property encoding (#871)
🛠️ Native Dependency Updates
- Update Android SDK from 5.8.0 to 5.9.2
- fix: [SDK-4388] subscription state permanently stuck at "Never Subscribed" when
login()is called beforerequestPermission()(#2627) - fix: [SDK-4474] self-heal SDK-4388-stuck push subscriptions on session start (#2636)
- fix: SDK-4504 ConcurrentModificationException in Model.initializeFromModel (#2642)
- feat: introduce SerialIO dispatcher + runOnSerialIOIfBackgroundThreading helper (#2643)
- fix: offload every main-thread onFocus / onUnfocused handler behind sdk_background_threading FF (#2644)
- fix: warm OneSignalDispatchers on init to avoid cold-start ANRs (#2645)
- feat: Identity Verification release (#2640)
- fix: SDK-4475 wait for in-flight init in initWithContextSuspend to avoid SessionService NPE (#2637)
- fix: defensive JSON parsing for params + IAM (SDK-4478, SDK-4494) (#2638)
- feat: SDK-4417: emit ossdk.features_enabled in Otel per-event payload (#2631)
- push token on startup when notification permission already granted (#2622)
- fix: clear unprocessedOpenedNotifs queue after replaying to new listener (#2632)
- fix: login/logout race causes subsequent calls to target previous user (#2618)
- fix: [SDK-4388] subscription state permanently stuck at "Never Subscribed" when
5.2.7
Channels: Current
🛠️ Native Dependency Updates
- Update Android SDK from 5.7.6 to 5.8.0
- feat: hash PII (email/SMS) in SharedPreferences at rest (#2620)
- feat: SDK-4176: gate background threading behind remote feature flag (#2595)
- feat: SDK-4210: Standardize BACKGROUND_THREADING feature flag key naming (#2598)
- feat: SDK-4363: Turbine remote SDK feature flags and foreground refresh (#2612)
- bug: catch exception if opening a notification fails (#2508)
- Fix: a rare NPE from PermissionViewModel (#2504)
- fix: add retry for notification opened confirmation (#2606)
- fix: end initialization early if device storage is locked (#2520)
- fix: [SDK-4192] downgrade Kotlin from 2.2.0 to 1.9.25 (#2601)
- Update iOS SDK from 5.5.0 to 5.5.1
- fix: update unattributed outcomes to match attributed outcomes and Android SDK (OneSignal-iOS-SDK#1655)
5.2.6
Channels: Current
🛠️ Native Dependency Updates
- Update Android SDK from 5.7.3 to 5.7.6
5.2.5
5.2.4
Channels: Current
🛠️ Native Dependency Updates
- Update Android SDK from 5.7.1 to 5.7.2
- fix: notification priority set OneSignal/OneSignal-Android-SDK#2565
- fix: Unify OTEL exporter diagnostics toggle and align headers OneSignal/OneSignal-Android-SDK#2572
- Update iOS SDK from 5.4.2 to 5.5.0
- 🎉 Add option to disable swizzling (OneSignal/OneSignal-iOS-SDK#1650)
5.2.3
5.2.2
Channels: Current
🐛 Bug Fixes
- fix(android): enable hardware acceleration for IAM transparency (#855)
🛠️ Native Dependency Updates
- Update Android SDK from 5.6.1 to 5.6.2
- fix: send unattributed sessions to /outcomes/measure (OneSignal-Android-SDK#2553)
- Update iOS SDK from 5.4.1 to 5.4.2
- feat: send unattributed sessions to /outcomes/measure (OneSignal-iOS-SDK#1648)
- fix: badge count not resetting when notifications are cleared (OneSignal-iOS-SDK#1649)
5.2.1
Channels: Current
🛠️ Native Dependency Updates
- Update iOS SDK from 5.4.0 to 5.4.1
- fix: warning about OSMacros.h in header (OneSignal-iOS-SDK#1642)
- fix(iam): prevent crash when dismissing IAM during view hierarchy changes (OneSignal-iOS-SDK#1641)
5.2.0
Channels: Current
🎉 Custom Events Support
This release introduces Custom Events support for the unity sdk.
Please see documentation on Custom Events.
🚀 New Features
- feat: add custom events support (#845)
🛠️ Native Dependency Updates
- Update Android SDK from 5.4.2 to 5.6.1
- fix: custom events now handle null object within the event properties (OneSignal/OneSignal-Android-SDK#2537)
- feat: 🎉 introduces Custom Events Support for the Android SDK. To get started with using Custom Events, please contact support@onesignal.com to enable this feature for your app. Please see documentation on Custom Events.
- feat: IAMs now display when triggers added before first fetch (#2528)
- fix: end initialization early if device storage is locked (#2520)
- feature: Exposing accessors thru suspend (#2502)
- fix: a rare NPE from PermissionViewModel introduced in 5.4.0 (#2504)
- fix: NPE in SyncJobService since 5.4 (#2500)
- fix: Rare User and Subscription creates and updates processing out of order (introduced in 5.4.0) (#2419)
- fix: Remove throwing "initWithContext was not called or timed out", introduced in 5.4.0 (#2408)
- Improvement: failure message shows that appID is missing (#2506)
- improvement: Offloaded work on background threads. (#2394)
- Update iOS SDK from 5.2.16 to 5.4.0
- feat: IAMs now display when triggers added before first fetch (OneSignal-iOS-SDK#1635)
- fix: use locale-independent formatting for purchase prices (OneSignal-iOS-SDK#1634)
- It is recommended to test this beta version with a new iOS-only app, as Identity Verification is not yet supported on the OneSignal Android and Web SDKs.
- Enabling Identity Verification in the dashboard will affect all existing app installations using the OneSignal user model SDKs.
- Please test thoroughly prior to production use, and reach out with any questions, feedback, or concerns.
- While emails and sms numbers can be added using the SDK, removing them is not yet supported.
- Live Activities is not yet supported.
- Rebased to 5.2.14 for more bug fixes and stability improvement.
- add public log listener methods (see PR for usage) #1576
- It is recommended to test this beta version with a new iOS-only app, as Identity Verification is not yet supported on the OneSignal Android and Web SDKs.
- Enabling Identity Verification in the dashboard will affect all existing app installations using the OneSignal user model SDKs.
- Please test thoroughly prior to production use, and reach out with any questions, feedback, or concerns.
- While emails and sms numbers can be added using the SDK, removing them is not yet supported.
- Live Activities is not yet supported.
5.1.16
Channels: Current
🛠️ Native Dependency Updates
- Update Android SDK from 5.1.37 to 5.4.2
- feat: Enable docs (#2507)
- bug: catch exception if opening a notification fails (#2508)
- fix: IAM with NOT_EQUAL_TO trigger always shows up (#2509)
- fix: NPE when setting timezone on app focus (#2505)
- fix: send receive receipt even when preventDefault is called (#2512)
- chore: Kotlin 1.9 update (#2403)
- chore: Bump firebase-messaging to 24.0.0 (#2149)
- Update iOS SDK from 5.2.14 to 5.2.16
- Feat: live activities click events (OneSignal-iOS-SDK#1593)
- fix: Retry IAM fetch when OneSignal ID becomes available (OneSignal-iOS-SDK#1626)
- fix: NotEqualTo trigger no longer matches non-existent properties (OneSignal-iOS-SDK#1625)
- fix: Remove exposing var and let macros (OneSignal-iOS-SDK#1622)
- fix: forward declarations for Objective-C++ compatibility (OneSignal-iOS-SDK#1621)
- Add confirmed deliveries for live activities notifications for OneSignal-aware activities (OneSignal/OneSignal-iOS-SDK#1592)
- New Log Listener methods to allow an app developer to capture logs as strings at runtime. The log listener is independent of logLevel, all message are always sent to listeners. Please see linked PR for example usage (OneSignal/OneSignal-iOS-SDK#1580)
- Prevent extra server calls to send duplicate live activity requests (OneSignal/OneSignal-iOS-SDK#1589)
- Fix an
NSInvalidArgumentExceptionthat happens on rare occasions when localized description is not copied properly (OneSignal/OneSignal-iOS-SDK#1594)