iOS 13 PushKit VoIP restrictions and China

In iOS 13, an application that receives a PushKit VoIP push must report an incoming call to CallKit as announced in https://developer.apple.com/videos/play/wwdc2019/707/ and https://developer.apple.com/documentation/pushkit/pkpushregistrydelegate/2875784-pushregistry


However, as you know, apps cannot use CallKit for users in Mainland China since 2018. How should a VoIP app handle receiving a PushKit VoIP push for a user in Mainland China?

Can someone at Apple please provide the community with a answer to the above question? There will soon be a plethora of users asking the same question here...

We are facing the same problem. Once we detect China, we handle the calls in a different manner without using CallKit.


We also use liphone VoIP solution which allows us to use early media previews for video. Seeing the video before actually picking up the call is a very important feature of our app. Since CallKit does not support early media at the moment, we need to handle those calls without using CallKit as well.


Any advice or solution for this problem would be appretiated.

I've been search everywhere for the same answer. There are mentions on Stack Overflow about detecting the user's region using NSLocale and disabling CallKit in China, but it would be great if we could get an official answer from Apple on this.

We have been developing an application for secure chat and currently it is in the testing stage.This application is a secure chat application which has messaging, call and group chat facility.We are using MQTT client for the communication between devices.We have limited dependency on server ,we are not storing any kind of messages in the server.Client wants to use this application in a secure environment where only device to device communication exist with limited server usage.

So once the device goes to background and terminated by the system we were unable to receive messages since it is a device to device communication.Currently we are using Voip push notification for managing call and at the same time for waking the application if it is offline.From the latest iOS 13 release we are restricted to use Voip notification only for Pushkit. This make our app crash when we receive another wakeup messages

Can we expect an answer from Apple on this topic?

We are facing the same issue with our P2P messaging application.

Shall we use the undocumented 'com.apple.developer.pushkit.unrestricted-voip' that some applications seem to use (WhatsApp, Signal, Telegram)?

Can someone from Apple please respond to this? An answer would be much appreciated.

so, 3 years later and still no answer? How should I process VoIP push in China?

iOS 13 PushKit VoIP restrictions and China
 
 
Q