Reputation: 515
The one given by pubspec.yaml
seems to be just a initial number. version: 1.0.0+1
There is an internal counter stored somewhere.
How can I check the internal build number?
Upvotes: 0
Views: 2065
Reputation: 4750
package_info_plus: ^1.0.6
Example:
PackageInfo packageInfo = await PackageInfo.fromPlatform();
String version = packageInfo.version;
Upvotes: 3
Reputation: 196
Android:
build.gradle, versionCode and versionName
iOS:
Info.plist, CFBundleVersion
Or flutter package: https://pub.dev/packages/package_info_plus
Upvotes: 2