Releases: OneSignal/OneSignal-Flutter-SDK
5.4.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.4.0
Channels: Current
🎉 Custom Events Support
This release introduces Custom Events support for the react native sdk.
Please see documentation on Custom Events.
🚀 New Features
- feat: add custom events support (#1114)
🛠️ 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 [email protected] 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.3.7
Channels: Current
🛠️ Native Dependency Updates
- Update iOS SDK from 5.2.15 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)
5.3.6
Channels: Current
🐛 Bug Fixes
- fix: address hot reloading issues (#1102)
🛠️ Native Dependency Updates
- Update Android SDK from 5.1.38 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)
5.3.5
Channels: Stable
🐛 Bug Fixes
- fix: complete lifecycleInit Future on Android (#1095)
- fix: export user.dart to expose
OSUserChangedState(#1054)
🛠️ Native Dependency Updates
- Update Android SDK from 5.1.35 to 5.1.38
- Feat: Detect for timezone changes and update the user (#2378)
- Fix: ANR on POST to Outcomes endpoint (#2371)
- add: security hardening around webview javaScriptEnabled (#2377)
- fix(subs): Fix when multiple create subscription operations exist without token (OneSignal-Android-SDK#2354)
- fix (crash): Finishing the activity on main thread when a notification is opened (OneSignal-Android-SDK#2353)
- fix(crash): NPE in PermissionsActivity (OneSignal/OneSignal-Android-SDK#2349)
- fix(subs): Fix parsing subscriptions from server, and improve handling of deleted push subscriptions (OneSignal/OneSignal-Android-SDK#2341)
- docs: Fix formatting issues in migration guide (OneSignal/OneSignal-Android-SDK#2347)
- docs: Update migration guide to point to remote docs (OneSignal/OneSignal-Android-SDK#2346)
- Update iOS SDK from 5.2.14 to 5.2.15
- 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)
Release 5.4.0-beta-01
Channels: Beta
🎉 Custom Events Support
This beta release introduces Custom Events support for the flutter sdk.
Please see documentation on Custom Events.
We appreciate your experience and feedback using this beta version!
🛠️ Native Dependency Updates
Update Android SDK from 5.1.35 to 5.3.0-alpha-01
Support for custom events.
See release notes for full details.
Update iOS SDK from 5.2.14 to 5.4.0-alpha-01
Support for custom events.
See release notes for full details.
Release 5.3.4
Channels: Current
🛠️ Native Dependency Updates Only
Update Android SDK from 5.1.34 to 5.1.35
- Remove Amazon IAP tracking #2333
- fix: push subscription observers not firing #2330
- Properly handle in-app messages dismissed by back press #2328
- [Fix] Android 7 and lower crashes with getParameterCount calls, when the app is built with AGP 7 or older #2329
- fix: logout incorrectly uses the old subscription ID #2327
- Clean up logging from ServiceProvider #2332
- See release notes for full details.
Update iOS SDK from 5.2.13 to 5.2.14
Release 5.3.3
Channels: Current
🛠️ Native Dependency Updates Only
Update Android SDK from 5.1.33 to 5.1.34
- fix: NPE when accessing WindowInsets used in isKeyboardUp() (OneSignal/OneSignal-Android-SDK#2305)
- Fix: NotificationOpenedActivity "freeze" when a large amount of notification is clicked (OneSignal/OneSignal-Android-SDK#2304)
- Fix crash when adding alias with some labels (OneSignal/OneSignal-Android-SDK#2296)
- See release notes for full details.
Update iOS SDK from 5.2.10 to 5.2.13
- Synchronize to fix crashes in the user module (OneSignal/OneSignal-iOS-SDK#1554)
- [Fix] Prevent deadlocks when user manager runs its startup tasks (OneSignal/OneSignal-iOS-SDK#1559)
- fix(badges): drop deprecated applicationIconBadgeNumber usage (OneSignal/OneSignal-iOS-SDK#1568)
- fix(badges): Fix bug when notification has badge set to zero (OneSignal/OneSignal-iOS-SDK#1565)
- See release notes for full details.
Release 5.3.2
Channels: Current
✨ Improvements
🛠️ Native Dependency Updates
Update Android SDK from 5.1.29 to 5.1.33 | select fixes listed
- [Fix] very rare bug where app doesn't opening from notification tap when it cold starts the app, affects Samsung and Redmi (OneSignal/OneSignal-Android-SDK#2289)
- IAM not showing fixes: (OneSignal/OneSignal-Android-SDK#2287) and (OneSignal/OneSignal-Android-SDK#2284)
- Fix: ANR fixes (OneSignal/OneSignal-Android-SDK#2281)
- See release notes for full details.
Release 5.3.1
🚧 Do not use 🚧
Please await version 5.3.2 which includes the same changes