I am simply developing a pedometer app with flutter backed by firebase. pedometer package is used for detecting steps but we need to update current steps to 0 at midnight.
Using workmanager and background_fetch approaches can be used for every 15 minutes tasks but they are not robust in ios and it can not be scheduled for specific time, as i know. How can i execute a code at midnight?