@harshil Did you implement HKObserverQuery
with TCA to get background updates? If so, did you use any references to figure out how to use that closure-based query with TCA? I'm feeling a bit dumb today.
=> More informations about this toot | More toots from nickkohrn@techhub.social
@nickkohrn Yes and no! So I do use HKObserverQuery, but only at the AppDelegate level and to update widgets. Within the app I just update when things appear, the app is foregrounded, etc.
=> More informations about this toot | More toots from harshil@mastodon.social
@harshil Ah, that makes sense! I am trying to use an AsyncThrowingStream in my AppDelegateReducer, but I'm not seeing the updates happen. Time to debug! Thanks for helping me realize I'm on the right path.
=> More informations about this toot | More toots from nickkohrn@techhub.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini