Schedules invokes when the app in foreground | Device Activity Monitor | Screen Time

I successfully setup schedule and they works. But I recognised that, when I didn’t send the app to background e.g. the app still on the screen, in that case the events from Device Activity Monitor invokes.

They invokes correctly by schedule, BUT, they invokes before I accumulated needed threshold time. I run schedules not in the past, but in future. So the issue why thresholds events invokes not that one when you start your schedules with threshold in the past.

I have 2 events: events1 and event2.

It seems that iOS think that my app in both of the groups which my events are monitoring. Firstly fires events1 (like my app in this group), then fires events2 (again like my app in this group as well).

But if I go to home screen, the events works correctly few times, but then also started invoking in wrong order. Where could be the problem?

Schedules invokes when the app in foreground | Device Activity Monitor | Screen Time
 
 
Q