When using CallKit in my flutter app audio(both mic and speaker) stop working. When not using call kit to answer calls the app work fine. I am using the flutter flutter_callkit_incoming to use callkit and flutter_webrtc for the telephony. Flutter_callkit_incoming has some boilerplate code code include sections to uncomment when using webrtc and I have seen multiple fixes to suggest to make sure the to configure sharedAudioSession before the callkit is sent. Neither of this approaches seemed to have worked.
I made this yesterday and relized I should have included some code, It won’t let me edit it so here a lit to a stackoverflow with code attached Using callkit stops audio from working on flutter iOS - Stack Overflow
I resolved the issue, This didn’t have anything to do with flutter. I was simply waiting too long to call the complete() function after receive the voip push info.