If you are building a Capacitor application, it is recommended to use the dedicated pushwoosh-capacitor-plugin
for Pushwoosh integration.
Using the older pushwoosh-cordova-plugin
in a Capacitor project might lead to compatibility issues, especially if your application also uses other Firebase Cloud Messaging (FCM) services or plugins (e.g., @capacitor-firebase/messaging
). Symptoms of such conflicts can include push notifications not being received or handled correctly by the application, potentially showing log messages like No listeners found for event notification received
.
The official pushwoosh-capacitor-plugin
is specifically designed for Capacitor and provides the correct integration path.
You can find the plugin here:
- NPM: https://www.npmjs.com/package/pushwoosh-capacitor-plugin
- GitHub: https://github.com/Pushwoosh/pushwoosh-capacitor-plugin
The GitHub repository also includes an example application demonstrating the plugin's usage: https://github.com/Pushwoosh/pushwoosh-capacitor-plugin/tree/main/example-app
Migrating from the Cordova plugin to the Capacitor plugin is the recommended approach for Capacitor projects.
Comments
0 comments
Please sign in to leave a comment.