-
-
Notifications
You must be signed in to change notification settings - Fork 173
MissingPluginException #222
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
Comments
Also, I should mention that |
Three ways to fix it:
There were some changes in the SDK that affected the autoregistration of plugin platform implementations. Previously, plugins had to manually find out what platform they're running on (windows, linux) and use the right implementation for that platform. Since flutter 2.5, the flutter SDK will generate some code that'll automatically register the correct platform implementation. (That's what There's some PRs on the flutter SDK that might address this, but they're still in review |
Could you please post a link to this PR? |
@eximius313 sure, here: flutter/flutter#90958 It's my PR but I let it slide a bit. Hope I get to it this or next week. |
Weird issue here. My app was working fine, using the flutter-pi version that uses flutter 2.8. I rebuilt it after changing just one small thing (not related at all to the bug). Then after uploading it to the raspberry, I get the following error when I use the
getApplicationDocumentsDirectory
from path_provider.Though, all other packages and plugins are working fine here. Just this one seems to miss. I tried a few things, rebuild with the last version (target flutter 2.10, dart 2.16), and this bug remains.
Any idea ?
The text was updated successfully, but these errors were encountered: