version - versionCode vs versionName in Android Manifest -
i had app in android market version code = 2 , version name = 1.1
however, while updating today, changed version code = 3 in manifest mistake changed version name 1.0.1 , uploaded apk market.
now, users of app update notification on phones or not? or should redo process again?
android:versioncode
an internal version number. number used determine whether 1 version more recent another, higher numbers indicating more recent versions. not version number shown users; number set versionname attribute. value must set integer, such "100". can define want, long each successive version has higher number. [...]
android:versionname
the version name shown users. attribute can set raw string or reference string resource. string has no other purpose displayed users. versioncode attribute holds significant version number used internally.
reading it's pretty clear versionname that's shown user, versioncode matters. keep increasing , should good.
Comments
Post a Comment