flutter_callkit_incoming
flutter_callkit_incoming copied to clipboard
Android Audio Focus conflict with Twilio
After upgrading this plugin from 1.0.3 to the newest 2.0.3 version it stopped working with twilio_programmable_video.
Previously, I was using flutter_callkit_incoming for handling call events/actions and then connect to call via twilio.
But now, after upgrade (which includes Telecom framework usage), connect() method in twilio plugin throws an exception ActiveCallExeption:
ActiveCallException(ACTIVE_CALL, Detected an active call that is using the audio system., null)
Is there a way to make it compatible by configuring something? Or maybe such configuration options can be added to this plugin?
I guess solution should be found since twilio is one of the most popular plugins for calls
If I remove telecomUtilities.reportIncomingCall(data) line in FlutterCallkitIncomingPlugin.kt it works fine. But I'm not sure what drawbacks will it have.
@hiennguyen92, could you please check?
And please, explain why Telecom Framework was added for Android in this plugin?
Hey @hiennguyen92 Could you help with this question?
Can you try with the latest version? Telecom framework removed.
Can you try with the latest version? Telecom framework removed.
Hey, I've already noticed that. Now all good Thanks