The plugin at version 2.0.4+2 didn't respect to the configureAudioSession setting.
After called setCallConnected method it will reset the configureAudioSession to true from Data since it only pass the args {'id': id} for the initialization of Data.
the self.data.configureAudioSession will be true at line:176 now even we pass the configureAudioSession to false when calling FlutterCallkitIncoming.startCall(params) before.
The plugin at version
2.0.4+2
didn't respect to theconfigureAudioSession
setting.After called
setCallConnected
method it will reset theconfigureAudioSession
totrue
fromData
since it only pass the args{'id': id}
for the initialization ofData
.flutter_callkit_incoming.dart#L94-L99
SwiftFlutterCallkitIncomingPlugin.swift#L166-L178
the
self.data.configureAudioSession
will betrue
at line:176 now even we pass theconfigureAudioSession
tofalse
when callingFlutterCallkitIncoming.startCall(params)
before.https://github.com/hiennguyen92/flutter_callkit_incoming/blob/2.0.4%2B2/ios/Classes/Call.swift#L218
and then
connectedCall
method will request theCXAnswerCallAction
transaction from theCXCallController
which will leadCXProviderDelegate
being called in SwiftFlutterCallkitIncomingPlugin.swift.and the delegate method call the
configurAudioSession()
again withdata?.configureAudioSession => true
:Am I using the plugin in a wrong way or any suggestion about this issue?
Thanks for your help and providing us this amazing plugin.