AlarmKit Fixed Schedule Going off at Midnight

I am getting bug reports from users that occasionally the AlarmKit alarms scheduled by my app are going off exactly at midnight.

In my app, users can set recurring alarms for sunrise/sunset etc. I implement this as fixed schedule alarms over the next 2-3 days with correct dates pre-computed at schedule time. I have a background task which is scheduled to run at noon every day to update the alarms for the next 2-3 days.

Are there any limitations to the fixed schedule which might be causing this unintended behavior of going off at midnight?

Hi, I’m experiencing the same issue with AlarmKit alarms occasionally firing at midnight. It seems I’m not the only one. I also created a post describing the same problem here:

Would appreciate if Apple could take a look at this behavior.

AlarmKit Fixed Schedule Going off at Midnight
 
 
Q