Home > other >  Upgrade to cordova-android 11: Plugin cordova-plugin-local-notification will not work anymore
Upgrade to cordova-android 11: Plugin cordova-plugin-local-notification will not work anymore

Time:09-23

I am trying to build the apk and it throws me the following error:

https://i.stack.imgur.com/9l6IE.png

CodePudding user response:

compile has been removed in Gradle 7 and is replaced with implementation. The cordova-plugin-local-notifications plugin needs to be updated to use implementation instead of compile in their localnotification.gradle.

Someone has already raised an issue on the plugin repo.

But I see you already know all this.... :)

CodePudding user response:

You can already solve, with this other:

ionic cordova plugin add cordova-plugin-local-notification-12
  • Related