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
- Install the plugin:
pnpm add @onesignal/capacitor-plugin
- Run
npx cap sync
- 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
Description
When running
npx cap sync, the@onesignal/capacitor-pluginpackage is notfound/linked, for both iOS and Android. Other plugins — official and
third-party — are detected correctly in the same project; only
@onesignal/capacitor-pluginis skipped.I am migrating from
onesignal-cordova-pluginto the native Capacitor plugin@onesignal/capacitor-plugin.Steps to reproduce
pnpm add @onesignal/capacitor-pluginnpx cap syncExpected behavior
@onesignal/capacitor-pluginis detected and linked for iOS and Android duringcap sync.Actual behavior
The plugin is not found/linked. Other plugins in the same project are detected
without issue.
Environment