very_good_cli icon indicating copy to clipboard operation
very_good_cli copied to clipboard

feat: add application support for Linux

Open dmiedev opened this issue 3 years ago β€’ 14 comments

It would be nice to have out-of-the-box support for macOS and Linux. Right now an app created with very_good_cli only supports Android, iOS, Windows and Web.

Sorry if this is a duplicate, I couldn't find a similar issue here.

dmiedev avatar Jul 06 '22 14:07 dmiedev

Hi @dmiedev πŸ‘‹ Thanks for opening an issue!

Unfortunately we are still blocked on https://github.com/flutter/flutter/issues/64088 for MacOS. I believe we should be able to add Linux support though -- I'll verify shortly πŸ‘

felangel avatar Jul 07 '22 15:07 felangel

As for Linux, I've recently generated a "very good" app and added Linux support manually, and the app worked. I don't know how flavors work though. πŸ˜„

dmiedev avatar Jul 07 '22 16:07 dmiedev

same issue.

kimmy-wang avatar Aug 05 '22 05:08 kimmy-wang

Is Flavors still the best approach for platform-specific configuration in Flutter? I don't want to spread misinformation, but Flavors was borrowed from Android where it is well-supported, but the Flutter dev docs have precious little information regarding the use of flavors cross-platform and delegate to a bunch of articles which talk about how it isn't well-supported in iOS (or MacOS obv). Having a separate entry point per flavor might seem ok (does it?) when we are talking about dev/test/prod, but what about when the permutations start to grow to include a/b testing and canary/staging/etc?

There are other libraries for sharing configuration between native and Dart. Why not use these instead?

  • https://pub.dev/packages/flutter_config
  • https://pub.dev/packages/environment_config

caveat - I have not used these, but plan to evaluate

oravecz avatar Aug 23 '22 15:08 oravecz

Hey @felangel could we expect the support for macOS since #118421 was merged recently?

Also Linux support would be great as well.

maranix avatar Feb 24 '23 13:02 maranix

Hey @felangel could we expect the support for macOS since #118421 was merged recently?

Also Linux support would be great as well.

Hey πŸ‘‹ Yes we’re planning to work on this very soon. Flavor support in MacOS is not yet available on the stable channel afaik but we plan to address this soon after the changes are available on stable.

felangel avatar Feb 24 '23 13:02 felangel

@felangel Any update?

josephybh avatar Apr 17 '23 06:04 josephybh

Any update?

rasmus-dybmose avatar May 17 '23 12:05 rasmus-dybmose

me also voting for this issue as macos flavoring updated in flutter 3.10

egyleader avatar Jun 14 '23 10:06 egyleader

macos flavoring updated in flutter 3.10

This is an excellent issue for people willing to contribute!

We have this in our backlog, but this is not at the top of our priorities compared to other stuff we have to do. If you are reading this and think you can do it, we have a great contributing guide that may help to find where to plug the wires.

This should be done on the following templates:

renancaraujo avatar Jun 19 '23 17:06 renancaraujo

I'd like to try and take this on, currently working on adding macos support to the starter app template!

mxknt avatar Oct 29 '23 04:10 mxknt

PR is up for the starter app template! I forgot this was for both macOS and Linux though - I don't have access to a Linux machine for development so I would only be able to do the macOS side of this.

mxknt avatar Oct 29 '23 18:10 mxknt

Thanks @mxknt so much for your contributions. Renaming this issue to track the remaining linux platform.

renancaraujo avatar Oct 30 '23 18:10 renancaraujo

Sure thing!

mxknt avatar Oct 30 '23 18:10 mxknt