Reputation: 207
I have updated my Android App last 7 times but till now I am assigning VersionName
as per my wish. But, now I want to know if there is any specific rule or method to assign VersionName
to Android App.
Please give me brief details if something is there.
Upvotes: 3
Views: 595
Reputation: 449
You already know what version is, now I'm telling about Android. In Android, if you upgrade your version, then your old database get deleted and onUpgrade() method is called if you have used Database in your app. Similarly version change updates many things. Generally developers increase version when they add new functionality. And if you update your app in mobile, then old apk get deleted and new get installed.
Upvotes: 0
Reputation: 24012
Not exactly rules but recommendations:
Since it is only shown to the User, it can be any String.
But like almost all the apps, it is better to follow major.minor.point format.
e.g:
1.0.0 to 1.0.1 for a bug fix
1.0.0 to 1.2.0 for any new feature
1.0.0 to 2.0.0 for a major design change, like supporting tablets etc..
Upvotes: 7