-
Notifications
You must be signed in to change notification settings - Fork 152
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
feat: support fvm #1385
Comments
in fact, this morning it works, I've only had Maybe it was the system restart, even though my reloads/ sourcing the .zshrc should have done the job as well. Previously I've used only my f alias, now I've added the flutter alias.
and of course then in the executing directory I've got the .fvm folder. Some hints to fvm would be nice in docu indeed :) Thanks ! |
had sth similar when switching fvm flutter versions and updating shorebird. With having the above aliases, after setting shorebird&fvm flutter to same version, VS Code close & restart did the trick (Developer Reload Window not sufficient). |
A user just asked on discord for:
|
fvmrc doesn't look difficult to parse (it's just json): I think the only question in my mind is if this should be a wrapper around shorebird, or built into shorebird. And if it's built into shorebird, should we be detecting fvmrc by default, or only when a flag is passed? |
I vote for detect by default and possibly opt out via flag With so many different flutter projects I wonder how is it possible to survive without flutter per project versioning :) |
Out of the box support for fvm would be great. Better than opt-in as it ticks the 'it just works' box. |
We'd welcome patches for this, but this isn't on our near-term roadmap without more requests. It doesn't seem to be blocking anyone (but definitely something we could do better).
|
Hey @eseidel, i just came across an issue with the shorebird_code_push package and the supported Flutter version together with the need to run the Shorebird CLI command via FVM instead of directly with the installed flutter version on my machine. My FVM was using 3.24.5 and my locally installed flutter version was 3.24.4. I've updated my local installation of Flutter for now. Would be nice if we can specify to the CLI that the FVM should be used via a flag or something. ![]() |
Some users don't install Flutter directly, rather they use fvm. So
flutter
isn't even on their path, justfvm
is and they might then use a shell alias to mapflutter
in the shell tofvm flutter
.One such user noted that this setup does not work with shorebird and is asking for potential fixes to
shorebird
to auto-detect/support fvm, and/or at least docs on how they're supposed to work together:#472 (comment)
The text was updated successfully, but these errors were encountered: