Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS MissingPluginException(No implementation found for method listen on channel medcorder_audio_events) #24

Open
Shakle opened this issue Mar 22, 2020 · 3 comments

Comments

@Shakle
Copy link

Shakle commented Mar 22, 2020

Android works ok, but iOS shows this on init

The following MissingPluginException was thrown while activating platform stream on channel medcorder_audio_events:
MissingPluginException(No implementation found for method listen on channel medcorder_audio_events)

When the exception was thrown, this was the stack:
#0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)

#1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:517:29)
#3 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:503:64)
#8 new MedcorderAudio (package:medcorder_audio/medcorder_audio.dart:13:43)
...

@rayliverified
Copy link

I'm getting this error as well.

Flutter Stable v1.17.3

The following MissingPluginException was thrown while activating platform stream on channel
medcorder_audio_events:
MissingPluginException(No implementation found for method listen on channel medcorder_audio_events)
When the exception was thrown, this was the stack:
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:154:7)

#1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:329:12)
#2 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:519:29)
#3 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:505:64)
#8 new MedcorderAudio (package:medcorder_audio/medcorder_audio.dart:13:43)
#9 new _MyAppState (package:medcorder_audio_example/main.dart:15:36)
#10 MyApp.createState (package:medcorder_audio_example/main.dart:11:36)
#11 new StatefulElement (package:flutter/src/widgets/framework.dart:4591:25)
#12 StatefulWidget.createElement (package:flutter/src/widgets/framework.dart:894:38)
#13 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3441:40)
#14 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#15 RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1148:16)
#16 RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1119:5)
#17 RenderObjectToWidgetAdapter.attachToRenderTree. (package:flutter/src/widgets/binding.dart:1061:17)
#18 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2607:19)
#19 RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1060:13)
#20 WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:941:7)
#21 WidgetsBinding.scheduleAttachRootWidget. (package:flutter/src/widgets/binding.dart:922:7)
(elided 15 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)

@huxaiphaer
Copy link

Did anyone of you get the solution @searchy2 and @Shakle ?, am also stuck here

@tomfriedhof
Copy link

It doesn't look like this was built to work for iOS. If you do a search for any of the channel methods in the repo, you won't find any. There are only java implementations.

Bummer that this wasn't developed for both platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants