Releases: OneSignal/OneSignal-Unity-SDK
Releases · OneSignal/OneSignal-Unity-SDK
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: Current
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
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
5.1.10 Release
Changed
- Updated included Android SDK from 5.1.21 to 5.1.24
- Pausing in-app messages now dismisses any currently displaying in-app messages
- Fix setting consentGiven throwing if called before initWithContext
- Fix BadTokenException and WindowLeaked exception caused by showing a dialog on a finishing or destroyed activity
- For full changes, see the native release notes
- Updated included iOS SDK from 5.2.4 to 5.2.7
- Pausing in-app messages now dismisses any currently displaying in-app messages
- Don't use cached in-app messages if the SDK encounters an error fetching them or when the server returns none
- Improve segment membership calculation that allows for fetching more accurate and updated in-app messages for a user
- For full changes, see the native release notes
5.1.9 Release
Changed
- Updated included Android SDK from 5.1.20 to 5.1.21
- Fix ending an already ended session
- Fix permissions returned by onRequestPermissionResult when the list is empty
- Fix keyboard input in HTML in-app messages
- For full changes, see the native release notes
5.1.8 Release
Changed
- Updated included Android SDK from 5.1.17 to 5.1.20
- Optimized the initialization process by moving some service initialization to a background thread
- Recover null onesignal ID crashes for Operations
- Add option to default to HMS over FCM
- Prevent retrying IAM display if 410 is received from backend
- Fix dynamic triggers showing IAM repeatedly after being dismissed
- For full changes, see the native release notes
- Updated included iOS SDK from 5.2.2 to 5.2.4
- Handle incorrect
404
by delaying making updates to new users or subscriptions - The user executor needs to uncache first which fixes some cached requests being dropped for past users
- Omit misleading fatal-level log for cross-platform SDKs
- For full changes, see the native release notes
- Handle incorrect