Closed ramsabarish closed 9 years ago
Hi ramsabarish, the problem here is that you do this in the $(document).ready() event handler. The plugin only becomes available after the device ready event is dispatched. So you should move your code to the device.ready handler.
Thanks a lot Michel Reij , my problem is solved .I was struck with this code for past 2 days and i was trying all other plugins . A Big relief to me , Thanks a lot....
Great!
I'm using cordova 4.0.0 , ios sdk 7.1
through CLI I added cordova plugin add https://github.com/katzer/cordova-plugin-local-notifications.git && cordova prepare
Then in config.xml I added gap:plugin name="de.appplant.cordova.plugin.local-notification"
Then in index.js I added
$(document).ready(function(){
After this no error was shown on Xcode , no notification was created and all other functionalities in my app were disabled.
Kindly tell me what error I would have committed or I have missed any steps. I have used many plugins to create local notifications but none them are working..