katzer / cordova-plugin-local-notifications

Cordova Local-Notification Plugin
Apache License 2.0
2.56k stars 1.75k forks source link

Warning while installing Plugin via Cordova CLI #613

Closed sisodiakaran closed 9 years ago

sisodiakaran commented 9 years ago

Command: $ cordova plugin add de.appplant.cordova.plugin.local-notification

Log:

npm http GET http://registry.cordova.io/de.appplant.cordova.plugin.local-notification
npm http GET http://registry.cordova.io/de.appplant.cordova.plugin.local-notification
npm http GET http://registry.cordova.io/de.appplant.cordova.plugin.local-notification
npm http 304 http://registry.cordova.io/de.appplant.cordova.plugin.local-notification
Installing "de.appplant.cordova.plugin.local-notification" for android
WARNING: org.apache.cordova.device has been renamed to cordova-plugin-device. You may not be getting the latest version! We suggest you `cordova plugin rm org.apache.cordova.device` and `cordova plugin add cordova-plugin-device`.
Fetching plugin "org.apache.cordova.device" via cordova plugins registry
org.apache.cordova.device" will not install due to "/media/media/Projects/MobileBinarySignals/MobileApp/BinarySignals/plugins/cordova-plugin-device" being installed.

        Your support is needed. If you use the plugin please support us in order to ensure further development.
        https://github.com/katzer/cordova-plugin-local-notifications/tree/example#how-can-i-support-the-further-development

        Thank you!

Will it work with this warning?

PKnittel commented 9 years ago

It should work.

sisodiakaran commented 9 years ago

I am trying to show instant notification but it is not working. My code is:

$window.cordova.plugins.notification.local.schedule({
     text: "My Message",
     data: {data:"some data"}
});

I have omitted some keys as it is having default values.

P.S. I am using AngularJS (Mobile Angular UI)