Azure / azure-sdk-for-ios

iOS client SDKs for Microsoft Azure
https://azure.github.io/azure-sdk-for-ios/
MIT License
185 stars 88 forks source link

[AzureCommunicationServices] Is Apple CallKit used by default? #1537

Open AlessandroRim opened 1 year ago

AlessandroRim commented 1 year ago

I have an iOS App that use Azure Communication Services SDK to manage VOiP features. Everything works fine but Apple rejects my App because it is not compliant to Chinese laws due to the presence of CallKit.

This is their response:

_Guideline 5.0 - Legal

Recently, the Chinese Ministry of Industry and Information Technology (MIIT) requested that CallKit functionality be deactivated in all apps available on the China App Store.

During our review, we found that your app currently includes CallKit functionality and has China listed as an available territory in App Store Connect.

Next Steps

This app cannot be approved with CallKit functionality active in China. Please make the appropriate changes and resubmit this app for review.

If you have already ensured that CallKit functionality is not active in China, you may reply to this message in App Store Connect to confirm.

Voice over Internet Protocol (VoIP) call functionality continues to be allowed but can no longer take advantage of CallKit’s intuitive look and feel. CallKit can continue to be used in apps outside of China.

It is possibile to disable the use of CallKit?

tjprescott commented 1 year ago

@raosanat can you please respond to this?

raosanat commented 1 year ago

Does it mean that the app or any SDK should not reference to the CallKit framework? Or that the app should not be using any CallKit functionalities? You can always choose to create CallAgent without the CallKit functionality enabled in the SDK.

AlessandroRim commented 1 year ago

Yes, it seems that any reference to CallKit must be removed.

Here's their last rejection message:

However, to be in compliance with guideline 5.0, it would still be appropriate to ensure that CallKit functionality is not active in China.

raosanat commented 1 year ago

We will look in to alternative solutions.

AlessandroRim commented 1 year ago

Thank you, I hope you can help.