I’m trying to schedule a time relative notification.
this.localNotifications.schedule({
id: 3,
trigger: {
in: 1,
every: ELocalNotificationTriggerUnit.HOUR
},
title: 'every 1 Hour',
text: 'Every 1 Hour schedule',
foreground: true,
sound: this.isAndroid ? 'file://sound.mp3' : 'file://beep.caf'
});
But the notification appears on round hour.
For example if I schedule a notification at 7:45 PM the notification will appear at 8:00 PM instead of 8:45 PM.
Any idea how to achieve this?