leanflutter / flutter_distributor

An all-in-one Flutter application packaging and distribution tool, providing you with a one-stop solution to meet various distribution needs.
https://distributor.leanflutter.dev/
MIT License
812 stars 114 forks source link

Issues with the way `appVersion` is obtained #207

Open kjxbyz opened 1 month ago

kjxbyz commented 1 month ago

There is a problem with the way appVersion is obtained, because during the build phase, this value can be set dynamically through the command line.

https://github.com/leanflutter/flutter_distributor/blob/f68dfc9d9969881d15f74a907d30cb3048fc1f76/packages/flutter_app_packager/lib/src/api/make_config.dart#L29