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

MissingPluginException on Linux desktop #77

Closed
aluedtke7 opened this issue Oct 5, 2022 · 2 comments
Closed

MissingPluginException on Linux desktop #77

aluedtke7 opened this issue Oct 5, 2022 · 2 comments

Comments

@aluedtke7
Copy link

Hi, I'm using vibration in an app on Android, Web and Linux.
Android and Web works as expected but since some days, I get a

MissingPluginException(No implementation found for method hasVibrator on channel vibration)

on Linux. I check via await vib.Vibration.hasVibrator() ?? false if vibration is supported. This is also the line where the Exception is thrown. This was working before.

I use now Flutter 3.3.4-stable but I also tried 3.3.0-stable, 3.3.2-stable and 3.3.3-stable. Beside that I use vibration 1.7.6 and vibration_web 1.6.5. My Linux version is Manjaro stable with kernel 5.19.7-1-MANJARO.

I know I could skip the vibration if the app runs on desktop.

Is there something else I can do or should I wait for the next release?

@benjamindean
Copy link
Owner

Hey! Did it work on the previous versions of the plugin?

@aluedtke7
Copy link
Author

Hi, I looked at my git commit log and I must tell you, that I already started with ver 1.7.6 of vibration and 1.6.5 of vibration_web.

But I made a quick test with version 1.7.3: same exception on linux (no other checks made).

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

2 participants