Hi there,
I was following the original tutorial for installing and using the Local notifications (this) but for some reason, when I run the first command ionic cordova plugin add cordova-plugin-local-notification
it shows me this:
Jordi:ionic-app-v3 Jordi$ ionic cordova plugin add cordova-plugin-local-notification
> cordova plugin add cordova-plugin-local-notification --save
(node:17188) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Cannot find plugin.xml for plugin "cordova-plugin-local-notification". Please try adding it again.
And I cannot continue with this, and also, the only thing I found is in the documentation of cordova they are advising this: Not compatible yet with Ionic Native but not sure if is completely related with.
Can someone help with that?
Ionic info:
Ionic:
ionic (Ionic CLI) : 4.0.3 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.11Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0, browser 5.0.3, ios 4.5.5System:
NodeJS : v6.11.0 (/usr/local/bin/node)
npm : 6.3.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000
Plugins already using:
<plugin name="cordova-plugin-file" spec="^6.0.1" /> <plugin name="cordova-plugin-file-transfer" spec="^1.7.1" /> <plugin name="cordova-plugin-filechooser" spec="^1.0.1" /> <plugin name="cordova-plugin-background-mode" spec="^0.7.2" />