Skip to content

@onesignal/capacitor-plugin not detected by cap sync when using pnpm #34

Description

@j-oppenhuis

Description

When running npx cap sync, the @onesignal/capacitor-plugin package is not
found/linked, for both iOS and Android. Other plugins — official and
third-party — are detected correctly in the same project; only
@onesignal/capacitor-plugin is skipped.

I am migrating from onesignal-cordova-plugin to the native Capacitor plugin
@onesignal/capacitor-plugin.

Steps to reproduce

  1. Install the plugin: pnpm add @onesignal/capacitor-plugin
  2. Run npx cap sync
  3. Observe that the plugin is not listed among the detected Capacitor plugins.

Expected behavior

@onesignal/capacitor-plugin is detected and linked for iOS and Android during
cap sync.

Actual behavior

The plugin is not found/linked. Other plugins in the same project are detected
without issue.

Environment

  • Package manager: pnpm 10.33.0
  • @onesignal/capacitor-plugin: 1.1.0
  • @capacitor/core: 8.4.0
  • @capacitor/cli: 8.4.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions