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

Exception caught by services library: MissingPluginException #9

Closed
anthonyym opened this issue Jan 17, 2020 · 9 comments
Closed

Exception caught by services library: MissingPluginException #9

anthonyym opened this issue Jan 17, 2020 · 9 comments

Comments

@anthonyym
Copy link

Hi, it works in the app but I get this exception. Running on newest version 1.0.1, though same error when trying with 1.0.0.

I/flutter ( 8648): ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY 
I/flutter ( 8648): The following MissingPluginException was thrown while activating platform stream on channel
I/flutter ( 8648): flutter_keyboard_visibility:
I/flutter ( 8648): MissingPluginException(No implementation found for method listen on channel
I/flutter ( 8648): flutter_keyboard_visibility)
[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.17763.914], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Android Studio (version 3.5)
[√] VS Code (version 1.35.0)
[√] Connected device (1 available)

• No issues found!
@apgapg
Copy link
Owner

apgapg commented Jan 31, 2020

On which device are you running. Using on Platforms other than ios and android will give this exception

@apgapg apgapg closed this as completed Jan 31, 2020
@apgapg apgapg reopened this Jan 31, 2020
@anthonyym
Copy link
Author

I ran it on my physical Android device plugged in via usb.

@Joao-b4
Copy link

Joao-b4 commented Feb 18, 2020

same problem here.

@Joao-b4
Copy link

Joao-b4 commented Feb 19, 2020

My problem was corrected when completing all required parameters, the error is probably in the usage code.

@remoteportal
Copy link

remoteportal commented Feb 22, 2020

What parameters were you missing? I'm stuck and can't figure this out.

Shouldn't the compiler complain?

════════ Exception caught by services library
The following MissingPluginException was thrown while activating platform stream on channel flutter_keyboard_visibility:
MissingPluginException(No implementation found for method listen on channel flutter_keyboard_visibility)

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 KeyboardVisibilityNotification (package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart:37:10)
...

@remoteportal
Copy link

remoteportal commented Feb 22, 2020

I've been fighting this for over a month; seems that the only way to solve this is to fork the repo and remove that dependency.

@apgapg
Copy link
Owner

apgapg commented Feb 23, 2020

okay it seems flutter_keyboard_visibility is giving issues. But if i remove it on keyboard close the widget wont loose focus and the popup on search widget wont go unless you select an item

@apgapg
Copy link
Owner

apgapg commented Feb 23, 2020

@apgapg
Copy link
Owner

apgapg commented Apr 23, 2020

fixed on master branch. thanks to @battlecook

@apgapg apgapg closed this as completed Apr 23, 2020
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