-
-
Notifications
You must be signed in to change notification settings - Fork 163
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 No implementation found for method getPlatformVersion on Raspberry Pi board #166
Comments
Native plugins are supported, but they don't work the same way plugins for any other platform work. For normal platforms, the native code resides in the
Since the native code lives inside flutter-pi, all you need is the assets bundle. (All the necessary code is inside |
Thanks for your response. |
Issue Summary:-
We have created one sample plugin (getPlatformVersion) for Linux desktop platform and executed the same and it executed properly.
Next we want to execute the same plugin on raspberry pi board so for that we created build folder using “flutter build bundle” command and deployed the same raspberry pi board and executed the app using flutter embedder (flutter-pi) as mentioned in below command:
e.g. <./flutter-pi ./flutter_assets>
With this app is being launched but it is not able to access platform APIs through plugin and got below mentioned error:
Note:- We have already cross compiled flutter engine for raspberry pi board and able to execute sample app also.
Plugin Name :- version
Steps to Reproduce
e.g. <./flutter-pi ./flutter_assets>
Expected results:- App should be launched and there should be platform (raspberry pi) version display in the app
Actual results:- App is launched but version is displayed as Unknown.
Result of 'flutter analyze' on app :- OK
Result of 'flutter analyze' on plugin :- OK
Output of running
flutter doctor -v
-Query:-
Thanks,
The text was updated successfully, but these errors were encountered: