Change App Version
How to change App Version
Go to pubspec.yaml
Ex: Update version: A.B.C+X in pubspec.yaml.
For Android
A.B.C represents the versionName, such as
1.0.0. X (the number after the +)
represents the versionCode such as 1, 2, 3, etc.Do not forget to execute flutter packages get, flutter build, or flutter run after this step

Go to
android > app > build.gradle.kts
file and change your app version code and app version name, like the image below.

For iOS:
Go to
ios > Runner > Info.plist
. A.B.C represents the CFBundleShortVersionString, such as1.0.0. X (the number after the +)
the CFBundleVersion, such as 1, 2, 3, etc.Do not forget to execute flutter packages get, flutter build, or flutter run after this step

Last updated