Updates and changes to the App version

6

I have some questions about updates and changes to an application version.

I published an app on the Play Store and did not change anything on my AndroidManifest. It was as follows:

package="com.app"
android:versionCode="1"
android:versionName="1.0"

What I would like to know is: How does VersionCode and VersionName work, and, when posting an update, what changes occur in them? Should I follow a numerical order? And some apps and software have versions of the type: 1.1.4. Can you explain this to me?

Thanks!

    
asked by Jão Vitor 21.07.2017 в 07:31
source

1 answer

8

The versionCode is not shown to users and therefore is an incremental internal number to differentiate the various versions, and that allows the Android system not to let the user install an application with a lower version than the one already there. Likewise, you will not be able to put a version with a versionCode lower than what is there in the Play Store.

Good practices say that with every new version versionCode should increase by 1 in 1.

versionName is the version that users come, so it's just text, and the programmer can write things like:

versionName="1.1-demo"

Typically this style of versions follows the following naming pattern:

<major>.<minor>.<point>

Where% is the version numbering for very large changes, <major> is when you have minor additions of features, and <minor> are usually only minor fixes.

Logo from <point> to 1.1.14 would be just minor fixes of things that had not been correct.

From 1.1.15 to 1.1.14 would be an addition of one or other small functionality.

From 1.2 to 1.1 would be a very wide difference and / or modification in most of the functionalities of the entire application, which may even be incompatible with previous versions.

Official Application Documentation for Google

    
answered by 21.07.2017 / 11:59
source