Skip to content

Releases: OneSignal/OneSignal-Capacitor-SDK

1.0.4

15 May 00:20
eedffdf

Choose a tag to compare

Channels: Current

🐛 Bug Fixes

  • fix: display foreground notifications by default (#21)
  • fix: [SDK-4511] fix Android build with Kotlin stdlib 2.2.x (#20)

1.0.3

14 May 16:01
bc7e53d

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

  • Update Android SDK from 5.8.1 to 5.9.1
    • 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)

1.0.2

08 May 20:20
e8fa806

Choose a tag to compare

Channels: Current , Stable

🐛 Bug Fixes

  • fix: [SDK-4496] support Capacitor 8+ in @capacitor/core peer dep (#15)
  • fix: [SDK-4481] dedupe listeners and harden plugin lifecycle (#13)

1.0.1

06 May 02:43
ce420f9

Choose a tag to compare

Channels: Current , Stable

🛠️ Native Dependency Updates

  • Update Android SDK from 5.7.7 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)
    • 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

1.0.0

05 May 21:53
ba68794

Choose a tag to compare

Channels: Current , Stable

First release of the OneSignal Capacitor plugin.

What's included

  • Full OneSignal SDK surface across the User, Push Subscription, Notifications, In-App Messages, Live Activities, Location, Session, and Debug namespaces
  • TypeScript types shipped alongside the JS in dist/
  • ESM-only module output
  • iOS via CocoaPods or Swift Package Manager
  • Android via the standard Capacitor Gradle plugin path
  • Two demo apps under examples/: demo (SPM) and demo_pods (CocoaPods)

Native SDK pins

  • iOS: OneSignalXCFramework 5.5.0
  • Android: com.onesignal:OneSignal 5.7.7

Requirements

  • Capacitor 7.x
  • iOS 14.0+
  • Android API 23+ (compile SDK 35)

Install

npm install @onesignal/capacitor-plugin
npx cap sync

See the README for setup and the API reference.