How to define the number of version code for android project? -
in build.gradle
file, there attribute called versioncode
. whenever make update project, should increase value of versioncode
?
android:versioncode —
an integer value represents version of application code, relative other versions.
typically, release first version of application versioncode set 1, monotonically increase value each release, regardless whether release constitutes major or minor release. means
android:versioncode
value not have strong resemblance application release version visible user. applications , publishing services should not display version value users.
screenshot of versioncode
@ play store developer console:
android:versionname —
a string value represents release version of application code, should shown users.
screenshot of versionname
in published app @ play store:
summary: version code keeping track of application update, used when upload new apk in play store. on other hand versionname
string visible user can see there's new version available.
source: versioning applications
Comments
Post a Comment