Releases: OneSignal/OneSignal-Capacitor-SDK
Releases · OneSignal/OneSignal-Capacitor-SDK
1.0.4
1.0.3
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
1.0.1
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
- fix: update unattributed outcomes to match attributed outcomes and Android SDK (OneSignal-iOS-SDK#1655)
1.0.0
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) anddemo_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 syncSee the README for setup and the API reference.