I'm using https://github.com/katzer/cordova-plugin-local-notifications
I have strange issue, notification are showing in emulator, but not on real device.
I make a simple call when app is in background:
cordova.plugins.notification.local.schedule({
title: 'Hello',
message: 'world'
});
And nothing happens. I tested from Safari console, registerPermissions
passes true
in callback, and I have Pushwoosh plugin ( https://build.phonegap.com/plugins/1297 ) working well with push notifications.
I tested on iPhone 5 iOS 7.1, iPhone 4S iOS 7.0 and iPad 2 iOS 8.1.2 with PhoneGap Build.
In emulator everything works perfect.
UPD
It works if I schedule delayed notification in foreground at 5 secs from now, then bring app to background. Seems that I can't trigger instant notification from background somehow.