nativescript-local-notifications: Everything is fine... But Notification doesn't show up.
I installed the plugin for Nativescript 2.4 (Android). So far I used the demo code and everything seemed fine.
I also got the console.log, that the Notification is scheduled. But there is no Notification showing up… And I don’t get any errors…
Someone experiencing the same problem? Is there a solution?
LocalNotifications.schedule([{
id: 1,
title: 'The title',
body: 'Recurs every minute until cancelled',
}]).then(
function() {
console.log("Notification scheduled");
},
function(error) {
console.log("scheduling error: " + error);
}
)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (9 by maintainers)
Yeah that forceShowWhenInForeground is part of the refactor and not on npm yet.
Going to publish plugin version 3.0.0 in a minute.
Ok i tested on real device and its working. On genymotion emulator notifications not working.