Post

Replies

Boosts

Views

Activity

Reply to Live Activity Does Not Appear on devices running iOS 17, built with Xcode 16
Thank you @brianTW for waking me up to double check ;) TL; DR; live activity/widget are working Previous error related to chronod was disappeared from logs. But, the live activity/widget continued its bad behavior... The problem was in Text(timerInterval: context.attributes.start...Date(timeInterval:** .infinity**, since: context.attributes.start), countsDown: false, showsHours: true) I changed 3 to Text(timerInterval: context.attributes.start...Date(timeInterval:**100000**, since: context.attributes.start), countsDown: false, showsHours: true) And, finally it works in iOS 18 too 🤷‍♂️ I didn't want to resort to any tricks here, I just intuitively used the infinite counter. Anyway thanks all @Engineer
Topic: App & System Services SubTopic: General Tags:
Nov ’24
Reply to Live Activity Does Not Appear on devices running iOS 17, built with Xcode 16
@Engineer Hello, I have app that count time. The app's live activity (dynamic island and lock screen widget) shows elapsed time using https://developer.apple.com/documentation/swiftui/text. Live Activity is not working in iOS 18 (release), but working fine in 17.5. By comparing Console app logs I found "chronod" errors. Then I replaced "Text(timerInterval: ..." with static text and it start working. So, something went wrong with chronod and widgets. bug number: 15168114 Thank you chronod.txt
Topic: App & System Services SubTopic: General Tags:
Sep ’24