Post

Replies

Boosts

Views

Activity

Reply to iOS 26 regression: `DeviceActivityEvent`: `eventDidReachThreshold` called immediately (instead of waiting till threshold is reached)
Hi all,I have documented a defensive workaround that has so far prevented premature eventDidReachThreshold callbacks from producing premature notifications on physical devices running iOS 26.x: https://developer.apple.com/forums/thread/840907 The callback is treated only as a wake-up signal. Local timing state determines whether completion is actually due; early callbacks are rejected and the event is re-registered for only the locally remaining duration using a new generation identifier. This does not fix the underlying DeviceActivity issue, and the post includes its limitations. Additional testing and confirmation from Apple would be appreciated.
Aug ’26
Reply to iOS 26 regression: `DeviceActivityEvent`: `eventDidReachThreshold` called immediately (instead of waiting till threshold is reached)
Hi all,I have documented a defensive workaround that has so far prevented premature eventDidReachThreshold callbacks from producing premature notifications on physical devices running iOS 26.x: https://developer.apple.com/forums/thread/840907 The callback is treated only as a wake-up signal. Local timing state determines whether completion is actually due; early callbacks are rejected and the event is re-registered for only the locally remaining duration using a new generation identifier. This does not fix the underlying DeviceActivity issue, and the post includes its limitations. Additional testing and confirmation from Apple would be appreciated.
Replies
Boosts
Views
Activity
Aug ’26