Skip to content

Releases: OneSignal/OneSignal-Flutter-SDK

5.5.6

28 May 18:40
65a908b

Choose a tag to compare

Channels: Current

🐛 Bug Fixes

  • fix: [SDK-4722] guard getNotifications() in onDetachedFromEngine (#1149) (#1150)

5.5.5

23 May 14:39
1101b49

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

  • Update Android SDK from 5.8.1 to 5.9.2
    • fix: [SDK-4388] subscription state permanently stuck at "Never Subscribed" when login() is called before requestPermission() (#2627)
    • fix: [SDK-4474] self-heal SDK-4388-stuck push subscriptions on session start (#2636)
    • fix: SDK-4504 ConcurrentModificationException in Model.initializeFromModel (#2642)
    • feat: introduce SerialIO dispatcher + runOnSerialIOIfBackgroundThreading helper (#2643)
    • fix: offload every main-thread onFocus / onUnfocused handler behind sdk_background_threading FF (#2644)
    • fix: warm OneSignalDispatchers on init to avoid cold-start ANRs (#2645)
    • feat: Identity Verification release (#2640)
    • fix: SDK-4475 wait for in-flight init in initWithContextSuspend to avoid SessionService NPE (#2637)
    • fix: defensive JSON parsing for params + IAM (SDK-4478, SDK-4494) (#2638)

5.5.4

06 May 16:58
2914a98

Choose a tag to compare

Channels: Current

🐛 Bug Fixes

  • fix(android): unsubscribe click listener when Flutter engine detaches (#1140)

5.5.3

04 May 22:10
64aa5bc

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

  • Update Android SDK from 5.8.0 to 5.8.1
    • feat: SDK-4417: emit ossdk.features_enabled in Otel per-event payload (#2631)
    • push token on startup when notification permission already granted (#2622)
    • fix: clear unprocessedOpenedNotifs queue after replaying to new listener (#2632)
    • fix: login/logout race causes subsequent calls to target previous user (#2618)

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