Closed Rushang007 closed 1 year ago
You can try with objective-C, it's OK with me.
@duynk163 what do you mean by objective-C, can you explain in details how to use in my swift code?
@Rushang007 i am also facing this issue after installing latest quickblox webrtc swift sdk?? Do you find any solution related to this
"On iOS 13.0 and later, if you fail to report a call to CallKit, the system will terminate your app. Repeatedly failing to report calls may cause the system to stop delivering any more VoIP push notifications to your app. If you want to initiate a VoIP call without using CallKit, register for push notifications using the UserNotifications framework instead of PushKit."
https://developer.apple.com/documentation/pushkit/pkpushregistrydelegate/2875784-pushregistry
You must report incoming call immediately in didReceiveIncomingPushWith. Example:
func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType, completion: @escaping () -> Void) {
let update = CXCallUpdate()
update.remoteHandle = CXHandle(type: .phoneNumber, value: '')
provider.reportNewIncomingCall(with: uuid, update: update) { error in
....
}
}
Please check the latest update Swift-Video-Chat-WEBRTC https://github.com/QuickBlox/quickblox-ios-sdk/commit/9b70536f44558d7ce004449731a9cfb4e539ea2b
Hello,
This is Nikolay from QuickBlox support.
Please let me know if the issue is still relevant.
Please check our documentation: https://docs.quickblox.com/docs/ios-video-calling
Also, please update the SDK to the latest version: https://github.com/QuickBlox/quickblox-ios-sdk/releases/tag/2.17.10
Additionally, please check our samples: https://docs.quickblox.com/docs/code-samples#video-calling-samples
i'm facing this error in iOS 13 & Xcode 11.4 i'm using latest version of Quickblox and webrtc SDK
can you please help ?