Home > Net >  Upgrade my version code of the app for play store
Upgrade my version code of the app for play store

Time:03-17

I published my app on the play store several times before, and according to another question on stackoverflow that I followed I made my code version 1.1.0 2 in the pubspec.yaml file now I had a major change in the app and I want the version to be 2.0.0 but I don't understand the last part of the code version ( 2), what should it be now and do I have to put it in the version code or just update it to 2.0.0 in the pubspec.yaml?

CodePudding user response:

1.1.0 is called version name. it is just a string separated by period(.) 2 is build number which need to be incremented each time when you create build.

In Play Store, version name does not matter, only build number needs to be unique every time. if you upload a build using 1.1.0 2 than you are allowed to keep the version name same, if each time you have unique build number.

In App Store, for each version name you can have every build number. if your version name is 1.0.0 than you can have build no from 1 to n and again when you update your version name to 2.0.0 than you are allowed to have build no from 1 to n.

  • Related