How receive PushKit notification for reporting call to CallKit on watchos9?

According to SpeakerBox sample code, the Watch App should register for receiving the PushKit notifications like so:

let pushRegistry = PKPushRegistry(queue: DispatchQueue.main)
pushRegistry.delegate = self
pushRegistry.desiredPushTypes = [.voIP]

This would then cause a delegate method to be called with a token:

func pushRegistry(_ registry: PKPushRegistry, didUpdate pushCredentials: PKPushCredentials, for type: PKPushType) { }

That, however, never happens.

I've already have the required entitlement and this exact same logic works fine on the main iOS app, however, in the companion watchOS app, it does nothing.

What am I missing here?

Also, since this is not a standalone watchOS app, it doesn't really make sense that it would have its own pushKit token. Isn't there a way to notify the watch about an incoming call using the same pushKit token received on the phone?

Thanks in advance,

Replies

Same problem here as well

You didn't sign up for the notice