Closed dhwalin closed 3 years ago
Same isssue! did you found solution?
Not yet. I have submitted issue to onesignal. Waiting for their reply.
Also seeing this error. I'm using Capacitor 3, Angular, and the onesignal-cordova-plugin. Tried 2.11.2, 2.11.3 and 3.0.0-beta1, and got the same error for all three.
For some packages only I have to switch to Gradle 7. Working in Gradle 6... So if developers do not need 7 for any other package, they can switch to lower version of gradle.
I'm using Capacitor 3
, Ionic 5
, onesignal-cordova-plugin@2.11.1
, @ionic-native/onesignal@5.30.0
and I just downgraded to gradle to version 6 and everything worked fine.
File -> Project Structure -> Project
@dhwalin @alainm23 thanks for the help! My project is running with Gradle 6. Guess I'll run with that until One Signal gets the plugin working with Gradle 7
Oh i didn’t had time , so i gone with cordova..
Works on Gradle 6.9. Capacitor 3 recommends using Gradle 7. Waiting OneSignal to be updated.
Are we going to have any update on this. OneSignal Team?
Thanks for reporting! Gradle 7 compatibility has been added in version 0.13.0.
This version should automatically be available then next time you do a clean build.
After upgrading to gradle 7
Using Capacitor 3, ReactJS, ionic-native onesignal