Set a repeating notification that starts at a future date

I would like to do exactly this but the API doens't seem to allow it. Was wondering if there were any creative workarounds? Basically, I have a reminder app that needs to send reminders at a certain time each day (there are several of these reminders per day). Each reminder has a couple of follow-ups scheduled at 5 min intervals.

If a user takes action on the task before the reminder is sent however, I would like to unschedule that notification (and follow ups) until the next day. The unscheduling part is easy, but there seems to be no reliable way to re-schedule it for the next day and continue repeating.

Looked into background tasks and they don't seem intended for these purposes nor do they seem reliable. The user isn't guaranteed to take action on notifications nor open the app within a 24-hour period after they have taken action on their task.

The current API does not directly support future date notifications that repeat at arbitrary intervals.

The only solution I can suggest is to schedule the main notification and the several follow-ups as separate notifications. You can schedule up to 64 notifications (64 pending total per app), which should be enough for most use cases.


Argun Tekant /  DTS Engineer / Core Technologies

Set a repeating notification that starts at a future date
 
 
Q