Local Notifications on iOS

My apologies if this is the wrong forum to post this issue.

Was wondering if anyone has any luck getting the katzer/cordova-plugin-local-notifications

plugin working in conjunction with ionic? Been struggling for a couple hours now. Think I’ve got it integrated correctly, but I never seem to get any notifications. I am running it the emulator, and have also tried it on my iOS device.

When executing in the emulator I see several warnings:

Aug  9 08:25:20 Denniss-MacBook-Pro-2.local SpringBoard[16271] <Warning>: UILocalNotification: could not calculate next fire date - previous = 2014-08-09 12:25:20 +0000 : next = 2014-08-09 12:25:20 +0000 : repeatInterval = 2

But, I never get an alert within the app, or a notification outside when I exit.

Any suggestions as to how to debug this?


I have an app with ionic + Local Notifications working all together. When you are within the app you don’t receive any alert or any kind of message, you have to handle it with the ontrigger event that the plugin provides to you.

Thanks xMarston - You wouldn’t happen to have any sample code you could provide would you?

Also, I’m using the katzer plug-in through the ngCordova AngularJS extension. I’m not expecting the local notifications to work when testing through the browser, but the window.plugin variable is undefined, which leads me to believe I don’t have something configured correctly?

Thanks again…

Is anybody able to provide more info on how to get this working?

This will only work when your app is working. If app is in sleep or background mode, no notification will be triggered.