Onesignal push notification plugin is not working with capacitor #4532
Unanswered
debashish4
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use onesignal cordova plugin with capacitor but it is not working. onesignal is plugin is detected with capacitor but it's working fine with cordova. Here are the steps to reproduce.
Unfortunately, I don't have any which show the issue. but you can easily reproduce the issue with the following steps.
Create a simple capacitor project through the command line.
npx @capacitor/cli create
Add android plugin to the created project
npx cap add android
install onesignal cordova plugin inside the project
npm install onesignal-cordova-plugin
npx cap sync
Build debug apk
go inside the android folder of the project
./gradlew assembleDebug
Note:
Beta Was this translation helpful? Give feedback.
All reactions