Gaurang Dadheech
Gaurang Dadheech

Reputation: 11

Local Notifications can not be used in ionic 3.8+

While I'm trying to use local notifications plugin in ionic3+, there are no errors showing in editor but building of application is not working.

There are 6 major issues in plugin.

I have tried everything but failed to build application whenever the Local-Notifications is installed.

Upvotes: 1

Views: 407

Answers (1)

K Hsueh
K Hsueh

Reputation: 620

It may be too late for this to be helpful.

I had a similar issue. The NotificationChannel was added in Android API level 26. Because I was using a cordova version that targets a lower API level, it throws the "cannot find symbol" error when compiling.

I downloaded the SDK Platform (API Level 26) in Android SDK Manager. I ran the below commands to upgrade the project to Cordova Android 6.3.0, the build was successful after that.

cordova platform remove android
cordova platform add [email protected]

Upvotes: 1

Related Questions