Closed seikosantana closed 2 years ago
you can change the "VERSION_AS_STRING" and "VERSION_AS_NUMBER" in windows/runner/Runner.rc manually. if you want to change it automatically, the feature will be rls in next stable release of Flutter. see https://github.com/flutter/flutter/issues/73652#issuecomment-1185955595
I run the app against Flutter 3.3 and the version number matches the pusbpec.yaml
file. I think this issue can be closed.
https://docs.flutter.dev/deployment/windows#updating-the-apps-version-number
https://docs.flutter.dev/development/platform-integration/windows/version-migration
Probably unrelated but on android I always have 1 as revision number even if in pubspec i wrote it to be 0
@seikosantana yes it is unrelated to this issue, I believe someone else has reported it already in another ticket.
Thanks @sitaryo and @iqfareez for the heads up!
Platform
Windows
Plugin
package_info_plus
Version
1.4.2
Flutter SDK
3.0.1
Steps to reproduce
WidgetsFlutterBinding.ensureInitialized();
Future loadPackageInfo() async { loadedPackageInfo ??= await PackageInfo.fromPlatform(); }
Code Sample
No response
Logs