'How to does Apple Reminders App/ iOS version Google Keep able to implement recurring reminder with complex rule?

By using UNCalendarNotificationTrigger and UNNotificationRequest, it is possible to create the following recurring reminder

Show reminder every day 8:00 am starting from now

But, as per my understanding, it is not possible to create the following recurring reminder, with future start date

Show reminder every day 8:00 am starting from 17 July 2023

Or with an end date

Show reminder every day 8:00 am until 17 July 2023

For a while, I thought to implement recurring reminders with above recurring rules, a server side reminder time computation + server side push notification are required.

However, I have tested both Apple Reminders App & iOS version Google Keep in airplane mode.


Apple Reminders App

enter image description here


iOS version Google Keep

enter image description here


Both of them are able to execute such reminders, even without Internet connection.

Do you have idea, how they are able to achieve such local notification with complex recurring rule? Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source