I have the same issue.
I would also like to update the timer text label as soon as the timer counts down to 0.
Using background tasks is not reliable enough for this use-case, as the timing of background tasks is up to the system and might only be called several minutes after the countdown has already expired.
Using server-side push notifications for this simple and very common use-case also seems to be a ton of work that could be avoided.
Something like
Text(timerInterval: context.state.deliveryTimer, countsDown: true, timerEnded: "EXPIRED")
would be quite nice.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: