-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Description
I have the following code in my Flutter project:
PackageInfo.fromPlatform().then((PackageInfo packageInfo) { appName = packageInfo.appName; packageName = packageInfo.packageName; version = packageInfo.version; buildNumber = packageInfo.buildNumber; });
The version and buildNumber values are being set directly in the pubspec.yaml file as:
version: 2020.0+3131
But the Flutter code is returning "4131" for the buildNumber instead of "3131". I have also tried passing these values on the command line instead of manually modifying pubspec.yaml (using "--build-name" and "--build-number") with the same result.
I'm using version 0.4.0+6 of package_info.
Metadata
Metadata
Assignees
Labels
No labels