hiennguyen92 / flutter_callkit_incoming

Flutter Callkit Incoming
https://pub.dev/packages/flutter_callkit_incoming
MIT License
180 stars 312 forks source link

endcall not working in IOS #572

Closed deepaksuthar23086 closed 2 weeks ago

deepaksuthar23086 commented 3 months ago

while accept call from background and trying to end call from custom screen then endcall is not working and throwing following errors (IOS) Error requesting transaction: Error Domain=com.apple.CallKit.error.requesttransaction Code=4 "(null)"

i am using this method to end call await FlutterCallkitIncoming.endCall(id);

Y-tezda commented 1 month ago

did you manage to fix this ?

deepaksuthar23086 commented 1 month ago

it's working, I solved this issue

anhkhoa1208py commented 3 weeks ago

help me fix this issues, same uuid but Error requesting transaction: Error Domain=com.apple.CallKit.error.requesttransaction Code=4 "(null)"

deepaksuthar23086 commented 2 weeks ago

There is a reason for the call end function not working. The uuid we are sending is wrong, Please take call details from activeCall() function. Get current call uuid from call details, After that pass it in uuid endcall() function and then see what is the result.

anhkhoa1208py commented 2 weeks ago

It works correctly on the first call, but on the second and subsequent calls, it always encounters an error. I tried using FlutterCallkitIncoming.endAllCalls();, but it still didn’t work.

anhkhoa1208py commented 2 weeks ago

it's working, I solved this issue. Because i use jitsit

deepaksuthar23086 commented 2 weeks ago

wow, that good