Open cboscolo opened 4 months ago
FlutterCallkitIncoming
.hideCallkitIncoming(CallKitParams(
id: callController
.callList[index].callId
.toString()));
FlutterCallkitIncoming.setCallConnected(
callController.callList[index].callId
.toString());
Future.delayed(
const Duration(milliseconds: 500))
.then((value) async {
await localNotifications.cancelAll();
});
Our iOS app uses flutter_callkit_incoming to handle in incoming webrtc calls.
When the app is in the foreground, and an inbound VoIP notification triggers the Callkit notification, if the call is accepted from within the app and not by pressing the "Accept" button in the Callkit notification, then the Callkit notification doesn't immediately go away. It stays there for N seconds (N being the
duration:
passed into theshowCallkitIncoming
).On Android, this is handled properly when we call:
What is the proper way to do this on iOS?