HomeKit in the background

So in the documentation, it seems like get HomeKit callbacks in the background is not possible. However, what happens if we create a background task? I am able to receive the callbacks when I begin the background task before going to the background. However, in the following situation with the Apple Watch I am not able to receive callbacks on the iPhone app:


1. Write characteristic value on Apple Watch extension

2. Call openParentApplication:reply: to start polling for HomeKit changes. This will start a background task

3. While in the background, I do not receive any HomeKit updates even though I have an active background task.


Should this be possible?

I've noticed you're able to access and control your HMAccessories from the iOS app as soon as it is launched by a WCSession callback. It lasts a couple of seconds until it is suspended.

HomeKit in the background
 
 
Q