Skip to content

Releases: OneSignal/OneSignal-Capacitor-SDK

1.1.2

17 Jun 22:54
8123b6e

Choose a tag to compare

Channels: Current

🐛 Bug Fixes

  • fix: [SDK-4782] export package metadata for Capacitor discovery (#35)

1.1.1

16 Jun 00:55
d88b005

Choose a tag to compare

Channels: Current

🛠️ Native Dependency Updates

  • Update Android SDK from 5.9.3 to 5.9.4
    • fix: demote spurious ANR log from warn to info (#2660)
  • Update iOS SDK from 5.5.2 to 5.5.3

1.1.0

11 Jun 05:54
f9e24d4

Choose a tag to compare

Channels: Current

🚀 New Features

  • feat: [SDK-4768] support disabling location module (#29)

1.0.6

03 Jun 04:04
d72313a

Choose a tag to compare

Channels: Current , Stable

🛠️ Native Dependency Updates

  • Update Android SDK from 5.9.2 to 5.9.3
    • fix: [SDK-4732] track activity lifecycle from process start to fix late-init focus (#2655)
    • fix: [SDK-4735] route requestPermission fallbackToSettings to settings when permanently denied (#2656)
  • Update iOS SDK from 5.5.1 to 5.5.2

1.0.5

21 May 22:46
7f93266

Choose a tag to compare

Channels: Current , Stable

🛠️ Native Dependency Updates

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

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

🐛 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

🛠️ 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

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.