Skip to content
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

Generate a version global string in main.dart #28

Open
flowcharterappowner opened this issue Dec 29, 2019 · 0 comments
Open

Generate a version global string in main.dart #28

flowcharterappowner opened this issue Dec 29, 2019 · 0 comments

Comments

@flowcharterappowner
Copy link

PackageInfo works for iOS and Android, but not for Web.
So until someone extends that package to include web, perhaps you could provide some functionality in your cmd line app that would, for example, add a global static variable declaration into main.dart.

That way, we wouldn't actually need to use PackageInfo to get the version info, because it would be in that global variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant