Though this was written mainly with Android in mind, this should work for both Android and iOS.
When publishing the app to the play store, you should specify a version name
and a version code. By default, the project's version name is `1.0.0` and its
version code is `1`. Google Play will likely complain as an existing version of
the app that has been uploaded before already has those version numbers.
Our Gradle setup uses the numbers in `android/local.properties`, but Flutter
overrides those values based on the version number in `frpg-companion/pubspec.yaml`. So, when changing the version, update it in `pubspec.yaml`. Don't worry about changing it anywhere else as Flutter takes care of that for you.
I recommend checking the current version on Google Play Console and updating
the new version to be newer than that.
* This is the description of the format `1.0.0+1`:
*`1.0.0` is the version name. Here's how to increase these:
* Leftmost number: For major release changes (such as an app redesign)
* Middle number: For significant changes (such as adding new features)
* Rightmost number: For smaller changes (such as bugfixes)
*`+1` represents the version code. this represents which build number
we are on.
* Increase this number by 1 every time you release a new version.