-
Notifications
You must be signed in to change notification settings - Fork 44
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
Plugins working in debug mode but not in profile / release mode on x64. #211
Comments
I suppose this issue is the same as sony/flutter-elinux-plugins#78. Are you using the latest video_player plugin (flutter-elinux-plugins)? |
This is a flutter-elinux-plugin issue, but I might be wrong. camera plugin for elinux might need to be fixed to fix this issue. |
Didn't try it yet. Although, I tried some other plugins which are not specifically elinux plugins but plugins which support the Linux platform installed from pub.dev which worked fine in debug mode as well but not in profile/release. Will test and make some detailed observations and report back today.
So this is specific to the flutter-elinux for flutter version 3.13 right and this does not exist for flutter 3.10 right? |
Yes, correct. |
Fixed sony/flutter-elinux#211 Signed-off-by: Hidenori Matsubayashi <[email protected]>
Fixed sony/flutter-elinux#211 Signed-off-by: Hidenori Matsubayashi <[email protected]>
Fixed sony/flutter-elinux#211 Signed-off-by: Hidenori Matsubayashi <[email protected]>
This issue should be fixed in sony/flutter-elinux-plugins#81. Thanks. |
@HidenoriMatsubayashi Thanks for the fix! The camera works now, but the output is rotated clockwise by 90 degrees. |
Okay, let me check. |
@Arna-Maity Is it possible to share your test code (flutter project?) to reproduce a rotation issue? |
Have a look at this. The StatefulWidget managing the camera is the same as the one we are using in our project. Try running it in all the three debug, profile and release modes. In debug mode the orientation is correct but in profile and release modes it is rotated. https://github.com/Arna-Maity/camera_test This is with the flutter-elinux repo checked out at 3.13.1 |
I see. Thanks. |
I converted my existing flutter (Flutter Version 3.10) project into flutter-elinux (Flutter Version 3.13) based one as mentioned in the project wiki. Everything including plugins work fine when run in the debug mode, but the plugins don't work properly when run in profile / release mode. I am running Ubuntu 20.04 and have followed the steps as mentioned in the wiki of this repo to setup flutter-elinux.
For example when running the camera plugin from the flutter-elinux-plugins repo in debug mode ( flutter-elinux run -d elinux-x11 ):
But when I run the same application in release mode ( flutter-elinux run -d elinux-x11 --release ) :
Is there something I am missing that needs to be done extra to run the app in release mode?
The text was updated successfully, but these errors were encountered: