Releases: OneSignal/OneSignal-Flutter-SDK
Release 5.2.8
🔧 Native SDK Dependency Updates Only
Update Android SDK from 5.1.24 to 5.1.25 | release notes
🐛 Bug Fixes
- [Fix] NPE by getScheduleBackgroundRunIn OneSignal/OneSignal-Android-SDK#2212
Update iOS SDK from 5.2.7 to 5.2.8 | release notes
🐛 Bug Fixes
- Fix [__NSPlaceholderDictionary initWithObjects:forKeys:count:] crashes caused by nil HTTPResponse headers OneSignal/OneSignal-iOS-SDK#1518
✨ Improvements
- Include debug symbols (dSYM) in the SDK OneSignal/OneSignal-iOS-SDK#1519
Full Changelog: 5.2.7...5.2.8
Release 5.2.7
🔧 Native SDK Dependency Updates Only
Update Android SDK from 5.1.23 to 5.1.24 | release notes
🐛 Bug Fixes
- Fix setting consentGiven throwing if called before initWithContext #2200
- Window manager BadTokenException / WindowLeaked #2208
✨ Improvements
- Make use of ryw_delay to minimize retries on IAM fetch #2207
Update iOS SDK from 5.2.5 to 5.2.7 | release notes
✨ Improvements
- Don't use cached in-app messages if the SDK encounters an error fetching them or when the server returns none #1499
- Improve segment membership calculation that allows for fetching more accurate and updated in-app messages for a user #1486
Full Changelog: 5.2.6...5.2.7
Release 3.5.4
🔧 Native SDK Dependency Updates Only
Update Android SDK from 4.8.8 to 4.8.10 | 4.8.9 | 4.8.10
🐛 Bug Fixes
- The getter for WorkManager considers the app context #2123
- Fix OSTaskController crashing on LinkedBlockingQueue.poll() on Android 12 #2062
- Corrected DeadSystemException handling #2063
Update iOS SDK from 3.12.9 to 3.12.10 | release notes
🔧 Maintenance
✨ Improvements
Release 5.2.6
🔧 Native SDK Dependency Updates Only
Update Android SDK from 5.1.21 to 5.1.23 | release notes
🐛 Bug Fixes
- Pausing IAMs dismisses any currently showing IAM #2191
✨ Improvements
- Read-Your-Write Consistency #2168
Update iOS SDK from 5.2.4 to 5.2.5 | release notes
✨ Improvements
- Pausing IAMs dismisses any currently showing IAM #1480
Full Changelog: 5.2.5...5.2.6
Release 5.2.5
🔧 Native Dependency Updates Only
Update Android SDK from 5.1.20 to 5.1.21 release notes
🐛 Bug Fixes
- Fix ending an already ended session (OneSignal/OneSignal-Android-SDK#2185)
- Fix Permissions returned by onRequestPermissionResult is empty (OneSignal/OneSignal-Android-SDK#2180)
- Fix Keyboard input in HTML In App Messages (OneSignal/OneSignal-Android-SDK#2187)
Update iOS SDK from 5.2.3 to 5.2.4 release notes
✨ Improvements
- [Fix] Handle incorrect 404 by delaying making updates to new users or subscriptions (OneSignal/OneSignal-iOS-SDK#1470)
Full Changelog: 5.2.3...5.2.5
Release 5.2.4
What's Changed
🐛 Bug Fixes
- set compileSdkVersion 34 to fix build errors (#935)
Full Changelog: 5.2.3...5.2.4
Release 5.2.3
What's Changed
✨ Improvements
- Removed duplicate "longer" MIGRATION_GUIDE.md (#914)
- Set wrapper sdk type before calling initialize (#932)
🔧 Native Updates
Update Android SDK from 5.1.17 to 5.1.20 release notes
🐛 Bug Fixes
- IAM with dynamic trigger showing forever (#2137)
- Allow preventDefault to be fired up to two times (#2138)
- Recover null onesignal ID crashes for Operations (#2157)
*Prevent retrying IAM display if 410 is received from backend (#2158)
✨ Improvements
- Optimized the initialization process by moving some service initialization to a background thread (#2125)
- Add option to default to HMS over FCM (#2163)
- Remove fallback code for FCM pre-21.0.0 (#2148)
- Clean up Android Support Library references, drop dependency on androidx.legacy, & Android 4.4 and older code (#2147)
Update iOS SDK from 5.2.2 to 5.2.3 release notes
🐛 Bug Fixes
- The user executor needs to uncache first which fixes some cached requests being dropped for past users (#1465)
✨ Improvements
- Omit misleading fatal-level log for cross-platform SDKs (#1468)
🛠️ Maintenance
- [For our server] Use only OneSignal ID for requests (#1464)
Full Changelog: 5.2.2...5.2.3
Release 5.2.2
What's Changed
🔧 Maintenance
- chore: add warning for identity verification in #901
🔧 Update Android SDK from 5.1.15 to 5.1.17
- release notes
- Fix "could not be instantiated" exception when; some modules are omitted AND android.enableR8.fullMode is enabled. OneSignal/OneSignal-Android-SDK#2136
🔧 Update iOS SDK from 5.2.1 to 5.2.2
- release notes
- Prevent In-App Message request crashes by making null values safe OneSignal/OneSignal-iOS-SDK#1457
- Add Dispatch Queues to all executors to prevent concurrency crashes OneSignal/OneSignal-iOS-SDK#1454
- Fix clearing notifications incorrectly such as when pulling down the notification center OneSignal/OneSignal-iOS-SDK#1451
Full Changelog: 5.2.0...5.2.2
Release 5.2.1
🔧 Native SDK Dependency Updates
Update Android SDK from 5.1.13
to 5.1.15
For full changes, see the native release notes
🐛 Bug Fixes
- Xiaomi notification click was not foregrounding app OneSignal/OneSignal-Android-SDK#2129
- FCM push token was not being refreshed (OneSignal/OneSignal-Android-SDK#2125, OneSignal/OneSignal-Android-SDK#2118)
- Poll for notification permission changes to detect permission change when prompting outside of OneSignal OneSignal/OneSignal-Android-SDK#2112
- WorkManager fixes when the app uses a custom WorkManager OneSignal/OneSignal-Android-SDK#2122
✨ Improvements
- Cold start creates new session and refreshes the user from the server OneSignal/OneSignal-Android-SDK#2113
Update iOS SDK from 5.2.0
to 5.2.1
🐛 Bug Fixes
- Fix warning about decoding a boolean (#1436)
- Fix a purchases bug for the amount spent (#1444)
- Fix a build issue for mac catalyst (#1446)
- Fix crash when IAM window fails to load by using the main thread (#1447)
🔧 Maintenance
- Network call optimizations: Combine user property updates for network call improvements (#1444)
Full Changelog: 5.2.0...5.2.1
Release 5.2.0
What's New
🎉 iOS - 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.
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 adoption.
- A new function
OneSignal.LiveActivities.setupDefault()
which tells the OneSignal SDK to manage the LiveActivity lifecycle for theDefaultLiveActivityAttributes
type. When calling this method, a customer can use bothpush-to-start
andpush-to-update
notifications to start/update/end their Default Live Activity. - A new function
OneSignal.LiveActivities.startDefault(activityId, activityAttributes, initialContentState)
which allows a customer app to start a live activity based on theDefaultLiveActivityAttributes
type "in app".
Four New APIs for Live Activities
OneSignal.LiveActivities.setupDefault()
OneSignal.LiveActivities.startDefault(activityId, activityAttributes, initialContentState)
OneSignal.LiveActivities.setPushToStartToken(String activityType, String token)
OneSignal.LiveActivities.removePushToStartToken(String activityType)
Please see the PR description for more details.
- Push to start live activities added to the SDK (#881)
🔧 Native SDK Dependency Updates
Update Android SDK from 5.1.10
to 5.1.13
- For full changes, see the native release notes
🐛 Bug Fixes - [Fix] grouping skipping opRepoPostCreateDelay, causing operations being applied out of order when multiple login operations are pending. (fixes issue since 5.1.10) (2087)
- [Fix]: Cancelling permission request dialog does not fire continuation (2085)
- [Fix] RecoverFromDroppedLoginBug not running in very rare cases (2084)
- Fix the ANR issue caused by prolonged loading of OperationRepo and potentially by extended holding of the model lock during disk I/O read operations. (2068)
🔧 Maintenance - Add HTTP header
OneSignal-Install-Id
that allows the OneSignal's backend know where traffic is coming from (2072)
Update iOS SDK from 5.1.6
to 5.2.0
- 5.2.0 Release Notes
- ✨ Privacy Manifest Improvements
- 🐛 [Bug] Fix rare scenario of dropping data when multiple logins are called (1427)