Description
It would be nice if one could schedule an interval notification (e.g. every day) but with a custom startTime.
Consider the following example:
notifications: [{
// ....
schedule: {
every: 'day'
}
// ....
}]
This schedules a notification that triggers every day from NOW on. So if one would schedule a notification at 11:00 am, it would trigger the next day at 11:00 am, and so on...
What I'm looking for is something like "remind every day on 08:00 am", so for example:
notifications: [{
// ....
schedule: {
every: 'day',
startDate: aSpecificStartDate
}
// ....
}]
This should be fairly easy to implement. Looking at the Android source, startTime
needs to be configurable. (For the swift sources is's almost the same)
I would suggest to introduce a new property startTime
for the schedule
object. For me, this seems to be the most straightforward way, plus is stays backwards compatible.
Any thoughts on this? If you guys are okay with that solution I would give it a try and submit a pull request.
Or maybe am I missing something and there is a workaround for my problem?