If the app is running on a phone (only tested on iPhone) when the phone goes into sleep mode, upon unlocking the phone the app resumes but does not run catch-up mode, it just starts the next Task. This is presumably because the app is still held in memory, so “catch-up mode” was already turned off and it never gets turned back on.
We will need to then figure out a way to watch for when the expected completion time of a task is more than, say, 200 ms in the past, and then turn catch-up mode back on until we are once again caught up. I think that should work.
If the app is running on a phone (only tested on iPhone) when the phone goes into sleep mode, upon unlocking the phone the app resumes but does not run catch-up mode, it just starts the next Task. This is presumably because the app is still held in memory, so “catch-up mode” was already turned off and it never gets turned back on.
We will need to then figure out a way to watch for when the expected completion time of a task is more than, say, 200 ms in the past, and then turn catch-up mode back on until we are once again caught up. I think that should work.