flutter_callkit icon indicating copy to clipboard operation
flutter_callkit copied to clipboard

MissingPluginException(No implementation found for method listen on channel plugins.voximplant.com/call_controller_events)

Open nerdsarena opened this issue 3 years ago • 4 comments

When the exception was thrown, this was the stack: #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:7) #1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:545:9)

nerdsarena avatar Dec 03 '21 05:12 nerdsarena

Hello @nerdsarena,

Could you please provide some details how to reproduce and the following information:

  • flutter version
  • flutter_callkit_voximplant version
  • ios version?

Best regards, Yulia Grigorieva

YuliaGrigorieva avatar Dec 03 '21 11:12 YuliaGrigorieva

flutter version : Flutter 2.2.3 flutter_callkit_voximplant version : flutter_callkit_voximplant: ^2.0.2+2

i see this error in log when run in android only

we know your plugin support iOS only but we face issue handle audio in iOS while app accept call from background and we tray multiple solutions but without any new result ! so we think this error my be the reason

nerdsarena avatar Dec 07 '21 19:12 nerdsarena

hello @nerdsarena ,

Thank you for information provided.

We wil check if we can reproduce the issue with an android app and will get back to you soon.

Regarding the issue with audio on iOS, it does not seem to be related to this error. Please check if you use FCXProviderDidActivateAudioSession/FCXProviderDidDeactivateAudioSession events in your project.

https://github.com/voximplant/flutter_callkit/blob/09b666e461135ca0fe271e668b5ac74b4c8de713/lib/src/provider.dart#L88-L98

The audio in a call should start only after CallKit activates the audio session, otherwise there might be issues to get the audio from the microphone or play audio to an audio device (speaker, receiver, headset).

Best regards, Yulia Grigorieva

YuliaGrigorieva avatar Dec 08 '21 12:12 YuliaGrigorieva

after investigation we found issue that audio session not active when response from background after a lot of search we understand that audio session activated from callkit it self but this not happen in our case can you help us with any sample code how to activate audio session when it's not activated thanks

similar issue https://developer.apple.com/forums/thread/64544 https://github.com/AgoraIO/Advanced-Video/issues/135 https://stackoverflow.com/questions/54007207/audio-seems-not-work-with-callkit-when-incoming-call-is-answered

nerdsarena avatar Dec 14 '21 06:12 nerdsarena