Releases: OneSignal/OneSignal-Unity-SDK
Releases · OneSignal/OneSignal-Unity-SDK
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
5.1.7 Release
Changed
- Updated SDK to support Live Activities PushToStart and added a concept of a "Default" Live Activity to facilitate easier adoption. Please check out https://documentation.onesignal.com/docs/push-to-start-live-activities for more information and our example app for an example implementation.
- Updated included Android SDK from 5.1.13 to 5.1.17
- Fixed Xiaomi notification click not foregrounding app
- Fixed FCM push token not being refreshed
- Poll for notification permission changes to detect permission change when prompting outside of OneSignal
- Cold start creates new session and refreshes the user from the server
- Immediately process pending operations when privacy consent goes from false to true
- Fixed OneSignal.Notifications.RequestPermissionAsync() not firing when permission was already granted
- Fixed Operation Model Store adding duplicate operations when the same ones that were previously added to the store and persisted, are re-read from cache
- Fixed a bug causing clicking an unexpanded group notification results in only registering the click result for the final notification in the group
- For full changes, see the native release notes
- Updated included iOS SDK from 5.2.0 to 5.2.2
- Prevent In-App Message request crashes by making null values safe
- Added Dispatch Queues to all executors to prevent concurrency crashes
- Fixed clearing notifications incorrectly such as when pulling down the notification center
- Fixed a purchases bug for the amount spent
- Fixed a build issue for mac catalyst
- Fixed crash when IAM window fails to load by using the main thread
- Network call optimizations: Combine user property updates for network call improvements
- For full changes, see the native release notes
Fixed
- Additional instance of OneSignal error when calling OneSignal methods in Awake()
- iOS Mac Catalyst build error: Use of undeclared identifier 'OneSignalLiveActivitiesManagerImpl'
5.1.6 Release
Fixed
- iOS build error: No type or protocol named OSLiveActivities
5.1.5
Changed
- Updated included Android SDK from 5.1.10 to 5.1.13
- Fixed the ANR issue caused by prolonged loading of OperationRepo and potentially by extended holding of the model lock during disk I/O read operations
- Fixed IndexOutOfBounds exception thrown from OperationRepo.loadSavedOperations if app was opened offline, some operations done, and then the app is opened again
- Targets JDK11 instead of JDK21 to address build errors encountered on certain development environments using JDK versions below 21
- Fixed grouping skipping opRepoPostCreateDelay, causing operations being applied out of order when multiple login operations are pending
- Fixed cancelling permission request dialog not firing continuation
- Fixed RecoverFromDroppedLoginBug not running in very rare cases
- For full changes, see the native release notes
- Updated included iOS SDK from 5.1.6 to 5.2.0
- Added additional 6 privacy manifests to the 6 sub-targets that are included in the primary targets clients import
- Updated User Defaults API reason to include app groups for appropriate modules
- Fixed rare scenario of dropping data when multiple logins are called
- For full changes, see the native release notes
5.1.4
Changes
- Updated included Android SDK from 5.1.9 to 5.1.10
- Handle incorrect 404 responses; add a delay after creates and retries on 404 of new ids
- Added network call optimizations
- For full changes, see the native release notes
- Updated included iOS SDK from 5.1.5 to 5.1.6
- Fixed pending properties from being sent to the incorrect user when quickly changing users
- Fixed crashes when encoding user models
- Fixed crash in OneSignalAttachmentHandler trimURLSpacing method
- Fixed crash when handling a dialog result
- Removed IAM window when an in app message is inactive
- For full changes, see the native release notes