Post

Replies

Boosts

Views

Activity

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,
2
0
1.7k
Feb ’23
[CallKit] Incoming call sound alert while already in another call.
In my VoIP app that uses CallKit, while I'm in a connected call and report to the CXProvider a new incoming one only the CallKit UI is displayed (the screen with End&Accept, Decline and Hold&Accept). There's no sound indication whatsoever of the newly reported call. Shouldn't there be a knock sound on top of the current call's audio? Am I missing some required configuration for that? Thanks in advance.
0
0
626
Jun ’22