I would like to schedule a Local Notification every day at a particular time. According to capacitor docs https://capacitorjs.com/docs/apis/local-notifications I have implemented it, the following pattern.
LocalNotifications.schedule({
notifications: [
{
id: 1,
title: 'Test local notification',
body: "Lorem ipsum",
schedule: { on: { hour: 9, minute: 9}, allowWhileIdle: true, every: 'day' }
}
})
This implementation is not working currently probably because of "on" and "every" options chosen together, which I am not sure of. Any guidance or implementation is much appreciated