Releases: OneSignal/OneSignal-Unity-SDK
Releases · OneSignal/OneSignal-Unity-SDK
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)
5.2.0-beta-01 Release
Channels: Beta
🎉 Custom Events Support
This beta release introduces Custom Events support for the unity sdk.
Please see documentation on Custom Events.
We appreciate your experience and feedback using this beta version!
Changed
- Add/expose custom event methods (#793)
- Updated included Android SDK from 5.1.37 to 5.3.0-alpha-01
- For full changes, see the native release notes
- Updated included iOS SDK from 5.2.14 to 5.4.0-alpha-01
- For full changes, see the native release notes
5.1.15
Channels: Stable
Changed
- Updated included Android SDK from 5.1.31 to 5.1.37
- [Fix] IAM not shown when calling login immediately after init
- [Fix] IAM now showing after switching to 3-button-navigation mode
- [Fix] very rare bug where app doesn't opening from notification tap when it cold starts the app
- [Fix] NPE when accessing WindowInsets used in isKeyboardUp()
- [Fix] NotificationOpenedActivity "freeze" when a large amount of notification is clicked
- [Fix] Crash when adding alias with some labels
- [Fix] Crashes with Amazon IAP tracking by dropping support for this
- [Fix] Push subscription observers not firing
- [Fix] Handle in-app messages dismissed by back press
- [Fix] Logout incorrectly uses the old subscription ID
- [Fix] NPE in PermissionsActivity
- [Fix] Fix parsing subscriptions from server, and improve handling of deleted push subscriptions
- [Fix] Multiple create subscription operations exist without token
- [Fix] Finishing the activity on main thread when a notification is opened
- [Feature] Adds the following new public methods (#2311):
- OneSignal.Debug.addLogListener
- OneSignal.Debug.removeLogListener
- For full changes, see the native release notes
- Updated included iOS SDK from 5.2.10 to 5.2.14
- [Fix] Synchronize to fix crashes in the user module
- [Fix] Prevent deadlocks when user manager runs its startup tasks
- [Fix] Bug when notification has badge set to zero
- [Fix] drop deprecated applicationIconBadgeNumber usage
- [Improvement] Ensure push tokens are registered for existing Live Activities during setup
- For full changes, see the native release notes
5.1.14
5.1.13 Release
Channels: Current
Changed
- Updated included Android SDK from 5.1.26 to 5.1.31
- [Compatibility] Unity 6 build error with Android
- [Fix] Incorrect activity path for NotificationOpenedActivityHMS
- [Fix] Anonymous Login request not cleared if app is forced close within 5 seconds on a new install
- [Fix] V4 to v5 upgrade will migrate app ID
- [Fix] Notification click not foreground the app in the first click if app is closed and no clickListener is added
- [Fix] Subscription/IAM not updated after upgrading from 5.2.0-beta or between 5.1.9 to 5.1.27
- [Fix] ANR caused by model.add(), model.initializeFromJson(), or modelstore.load()
- For full changes, see the native release notes
- Updated included iOS SDK from 5.2.9 to 5.2.10
- [Fix] Requiring privacy consent blocks confirmed deliveries indefinitely
- [Fix] Detect for timezone changes and update the user
- For full changes, see the native release notes
5.1.12 Release
Changed
- Updated included Android SDK from 5.1.25 to 5.1.26
- [Fix] ANR caused by operationRepo.enqueue while loading is in progress
- [Fix] Check subscription Id before executing delete and update subscription operations
- For full changes, see the native release notes
- Updated included iOS SDK from 5.2.8 to 5.2.9
- [Fix] Use new OneSignalClientError type for callbacks which fixes crash report of NSInvalidArgumentException
- [Fix] Don’t evaluate in app messages when paused which fixes issues with duration-since-last In-App Messages when pausing and unpausing
- For full changes, see the native release notes
5.1.11 Release
Changed
- Updated included Android SDK from 5.1.24 to 5.1.25
- Fix NullPointerException from getScheduleBackgroundRunIn
- For full changes, see the native release notes
- Updated included iOS SDK from 5.2.7 to 5.2.8
- Fix [__NSPlaceholderDictionary initWithObjects:forKeys:count:] crashes caused by nil HTTPResponse headers
- For full changes, see the native release notes
3.0.13 Release
Channels: Legacy
Changed
- Updated included iOS SDK from 3.12.9 to 3.12.10
- Replace deprecated openURL method preventing launch URLs
- Update privacy manifest User Defaults API reason to include app groups
- For full changes, see the native release notes