-
Notifications
You must be signed in to change notification settings - Fork 294
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
Allow flutter_rust_bridge_codegen
to use fvm flutter
#2300
Comments
Hi! Thanks for opening your first issue here! 😄 |
Looks reasonable and feel free to PR (since this does not look very hard)! Alternatively I may work on it later. We may need to determine how to know whether to use fvm or normal flutter binary. One way may be, try to see whether Btw, we may also handle I guess code change may be near flutter_rust_bridge/frb_codegen/src/library/utils/dart_repository/dart_toolchain.rs Line 36 in 17fdf93
|
Thanks for looking into this ! I think the best way to determine if flutter must be used from global install or from Alternatively before its version 3.0, I agree that supporting pure |
Looks reasonable! Sometimes
Looks like we only need to support latest fvm and no worries about old versions |
@BriceCroix, if you can't wait for the fix, why don't you create an alias so that Alternatively I can recommend using |
Yes I ended up adding fvm's internal directories to my path so that I started to look into but but hadn't had much time to come up with something |
Ah, great :) Hmm, I understood that this is solved as well, that
is binding the command |
Hi, first of all thank you all for this awesome project.
I would like to know if it is possible to use
flutter_rust_bridge_codegen
utility withfvm flutter
. I do not have the regularflutter
command on my computer and do not wish to install it. If you do not know FVM it is an elegant solution to manage the flutter version used by each specific project, here is its main website.As of now, the executable exits with the following error message :
I could not find any information about
fvm
in the documentation of this repository but perhaps I did not look at the right place.If this is not possible right now, I think it would be great to add something like a
--use-fvm
or--flutter-path /path/to/fvm/flutter
option to the codegen call.Thanks a lot for your time !
The text was updated successfully, but these errors were encountered: