katzer / cordova-plugin-local-notifications

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

local-notification.js missing define #55

Closed astutesoftware closed 10 years ago

astutesoftware commented 10 years ago

I have to add this line to "local-notification.js" to make it work every time i add it using the git command. cordova.define("de.appplant.cordova.plugin.local-notification.LocalNotification", function(require, exports, module) { and have to close the braces at the end like the following });

lsiegert commented 10 years ago

I had to do this as well.

katzer commented 10 years ago

which git command??

If you install the plugin through Cordova CLI, all the assets will be copied into the project to the right place. And the local-notification.js file will contain the cordova.define