I'm creating an app in Phonegap Android and using LocalNotification plugin from git to show the notification. Now I have the code:
function onDeviceReady(){
window.plugin.notification.local.add({
id: 1,
title: 'alert',
message: 'Mesage',
repeat: 'minutely',
});
}
With this code, the message will display every minute, but when I go to Setting then Force to Stop, the notification will not appear.
In the future,I want to show a notification in 7:00AM everyday even the app running or not.
Any advise for me to make notification appear when the app is not running.
thank you for your help!