Post

Replies

Boosts

Views

Activity

Comment on HKObserverQuery not working in background
Hi, I'm having an issue with HealthKit background delivery on watchOS 11.3.1, I'm using HKObserverQuery and I'm experiencing CSLHandleBackgroundHealthKitQueryAction watchdog transgression crash. I confirm that I have called HKObserverQueryCompletionHandler correctly and in time. Is there any special requirement for the code to call HKObserverQueryCompletionHandler? For example, does it have to be in the main thread?
Apr ’25