forked from katzer/cordova-plugin-local-notifications
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Provide a general summary of the issue.
Your Environment
- Plugin version: 0.9.3
- Platform: Andorid
- OS version: Linux
- Cordova version (
cordova -v): 9.0.0 - Cordova platform version (
cordova platform ls): 8.0.0 - Plugin config
Expected Behavior
Notifications set to days of the week are working correctly
trigger: {every: {weekday: 3, hour: hour, minute: minutes}}
Actual Behavior
I would like to receive notifications every minute, both on certain days of the week and after the first working moment
Context
I'm creating a recurring new notification for every 1 minute at the time the notification for the day of the week is triggered, but it doesn't work when the application is completely closed.
window.cordova.plugins.notification.local.on('trigger', (notification, args) => {
app.notificationEveryMinute();
});
notificationEveryMinute: function () {
cordova.plugins.notification.local.schedule({
channel:"test2",
id: app.idDGenerator(),
title: 'Test',
text: 'TestText',
group:'test2',
sound: 'file://torpedo.mp3',
trigger: {
every: 'minute'
}
});
}
In fact, the use will work with the second.
trigger: {every: {weekday: 3, hour: hour, minute: minutes, second: second}}
Metadata
Metadata
Assignees
Labels
No labels