Posts

Post not yet marked as solved
0 Replies
747 Views
I used an iPhone 8 Plus with iOS 15.6.1 and CallKit to answer a video call request while the phone was locked. After unlocking the phone, the app would open and the video call function would be activated. But in iOS 16.2, when using CallKit to answer a video call request while the phone is locked, the app does not automatically open and activate the video call function. Instead, I have to tap on the app icon to open the app and access the video call function.    init(callManager: SpeakerboxCallManager) {           var providerConfiguration:CXProviderConfiguration     if #available(iOS 14.0, *) {       providerConfiguration = CXProviderConfiguration()     } else {       providerConfiguration = CXProviderConfiguration(localizedName: "CallPushPorject")     }           providerConfiguration.maximumCallsPerCallGroup = 1     providerConfiguration.supportsVideo = true     providerConfiguration.supportedHandleTypes = [.phoneNumber]     providerConfiguration.ringtoneSound = "incoming_call.caf"     self.callManager = callManager     provider = CXProvider(configuration: providerConfiguration)     super.init()     provider.setDelegate(self, queue: nil)   }  let uuid = UUID()         let update = CXCallUpdate()         update.remoteHandle = CXHandle(type: .generic, value: "name") )         update.hasVideo = true         provider.reportNewIncomingCall(with: uuid, update: update) { error in           if error == nil {             let call = SpeakerboxCall(uuid: uuid,id: id)             call.handle = handle                           self.callManager.addCall(call)           }           completion()                                 }
Posted Last updated
.