Open gdhananjay opened 2 weeks ago
same issue
same issue
Please check version Podfile.lock file.
@chauvansang1997 , Thank you for your reply. Could you please elaborate more on where i did mistake.
Below is my Podfile.lock file version.
Facing same issue. any solution yet?
Additional debug logs: When app is in background and when i click on accept call, its throwing below error. (This error is not there when i accept call from foreground)
-[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = dismissAutoFillPanel, customInfoType = UIUserInteractionRemoteInputOperations -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = dismissAutoFillPanel, customInfoType = UIUserInteractionRemoteInputOperations -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID. inputModality = Keyboard, inputOperation = dismissAutoFillPanel, customInfoType = UIUserInteractionRemoteInputOperations Snapshotting a view (0x12bc93000, UIKeyboardImpl) that is not in a visible window requires afterScreenUpdates:YES. didReceiveIncomingPushWith AVAudioSession_iOS.mm:2540 Failed to set properties, error: '!int' Error Domain=NSOSStatusErrorDomain Code=560557684 "(null)"
One more log on debug scree when this issue occure:
Error answering call: The operation couldn’t be completed. (com.apple.CallKit.error.requesttransaction error 6.)
My code flow for accepting call is: When app is in FG or in BG : Use event handler Event.actionCallAccept => Inside it call FlutterCallkitIncoming.endCall => connect to video call internal widget When app is in terminated state: FlutterCallkitIncoming.activeCalls() => Inside it call FlutterCallkitIncoming.endAllCalls() => connect to video call for recent active call using internal widget
This works perfectly fine on android. On IOS For BG and terminated case it gives problem of app is not getting opened and failed with error "Error answering call: The operation couldn’t be completed. (com.apple.CallKit.error.requesttransaction error 6.)"
Removed endCall and endAllCalls , but now For FG call , its giving problem of multiple accept Event.actionCallAccept events. Removing FlutterCallkitIncoming.setCallConnected from event Event.actionCallAccept may solve this issue as per issue mentioned in https://github.com/hiennguyen92/flutter_callkit_incoming/issues/588
I moved endCall and endAllCalls function on actual call end , its working now. Problem i faced because it was working on Android and not on IOS.
same issue
I am able to resolve this, Check comment above
I used this plugin for configuring notification call notification in android and ios. Android is working fine. IOS i received notification very well. The only problem i am facing is when i accept the call it is not opening app automatically in IOS. When i open app manually it starts call. But ideally it should launch app on click of accept call.
Note: I added checkAndNavigationCallingPage() in WidgetsBinding.instance.addPostFrameCallback
I am sure i missed upon some configuration param. I am using latest lib. Below is my code from AppDelegate.swift
Please help me on resolving this issue.