Skip to content

Releases: OneSignal/OneSignal-Flutter-SDK

5.5.2

29 Apr 21:11
0c0ede1

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

  • Update Android SDK from 5.7.7 to 5.8.0
    • feat: hash PII (email/SMS) in SharedPreferences at rest (#2620)
    • feat: SDK-4176: gate background threading behind remote feature flag (#2595)
    • feat: SDK-4210: Standardize BACKGROUND_THREADING feature flag key naming (#2598)
    • feat: SDK-4363: Turbine remote SDK feature flags and foreground refresh (#2612)
    • bug: catch exception if opening a notification fails (#2508)
    • Fix: a rare NPE from PermissionViewModel (#2504)
    • fix: add retry for notification opened confirmation (#2606)
    • fix: end initialization early if device storage is locked (#2520)
  • Update iOS SDK from 5.5.0 to 5.5.1

5.5.1

07 Apr 23:52
a851437

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

  • Update Android SDK from 5.7.6 to 5.7.7
    • fix: [SDK-4192] downgrade Kotlin from 2.2.0 to 1.9.25 (#2601)

5.5.0

02 Apr 00:09
e410b7c

Choose a tag to compare

Channels: Current

🚀 New Features

  • feat: add Swift Package Manager support for iOS plugin (#1131)

Swift Package Manager (SPM) Support: Flutter's SPM integration is used automatically when enabled (the default in newer Flutter versions). No changes are needed for new projects.

Migrating from CocoaPods to SPM: Existing projects using CocoaPods can migrate by:

  1. Remove enable-swift-package-manager: false from pubspec.yaml (if present)
  2. Delete Podfile, Podfile.lock, and Pods/ directory
  3. Remove CocoaPods include lines from ios/Flutter/Debug.xcconfig and ios/Flutter/Release.xcconfig
  4. Run flutter run, Flutter adds SPM integration automatically

5.4.6

24 Mar 21:46
da08a0b

Choose a tag to compare

Channels: Current

🐛 Bug Fixes

  • fix: [SDK-4193] suppress unchecked cast warnings in Android bridge (#1129)

🛠️ Native Dependency Updates

  • Update Android SDK from 5.7.3 to 5.7.6
    • fix: R8 AutoValue + Huawei CI (cherry-pick #2592) (#2593)
    • fix: R8 InputMerger + minified demo + CI (#2589 → 5.7-main) (#2590)
    • fix: [SDK-4190] PermissionsActivity does not follow app theme (#2584)
    • fix: [SDK-4185] keep OneSignal WorkManager workers in consumer R8 rules (#2585)

5.4.5

17 Mar 21:26
63d7350

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

  • Update Android SDK from 5.7.2 to 5.7.3
    • fix: add otel consumer R8 rule for optional jackson classes (#2580)

5.4.4

13 Mar 17:26
82dab85

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

5.4.3

10 Mar 18:09
a6148bf

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

  • Update Android SDK from 5.6.2 to 5.7.1

    • feat: Crash capture and logging (#2555)
    • fix: updating url (#2562)
    • fix: send unattributed sessions to /outcomes/measure (#2553)

5.4.2

09 Mar 19:48
3329b92

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

5.4.1

06 Feb 00:32
414f281

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

5.4.0

30 Jan 20:33
2012f9f

Choose a tag to compare

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 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.