Open eviceconti opened 7 months ago
Came here by googling the same error. I'm using cordova-plugin-callkit. Got the same results after updating to iOS 17.5.1.
I've got a custom plugin for Call Kit, this code errors out:
let session = AVAudioSession.sharedInstance()
do {
try session.setCategory(AVAudioSession.Category.playAndRecord, mode: .default)
try session.setMode(AVAudioSession.Mode.voiceChat)
} catch (let error) {
print("Error while configuring audio session: \(error)")
}
They must have changed something
Hey there,
I'm facing this bug where the second time I send the voip push notification (if I use the same uuid) the interface does not show the slide button to accept the call. It seems the phone is not ending correctly the 1st call. Even though I'm calling
await FlutterCallkitIncoming.endAllCalls();
in the Flutter side. Is that the correct behavior? Or is there a way to finish the call on the iOS native side? After this bug happens, the UI on background (unlocked) also stops showing and I need to restart phone to things start to work again. I got some other error logs but I'm not sure if they are related.Error Domain=NSOSStatusErrorDomain Code=561017449 "Session activation failed" UserInfo={NSLocalizedDescription=Session activation failed}
AVAudioSession_iOS.mm:2540 Failed to set properties, error: '!int'
It is ok for my application to send different uuid on each call, I'm just asking to understand if I need to do something else or that is the expected behavior.
Thanks for your support!!!