fluttergoogle-play-consoleandroid-update-app

How to change the version number and build number while updating an app in the Google Play Console?


This is the first time I am trying to build and release a mobile app (Android). I have used Flutter for developing the app.

After developing the app I have successfully released (internal-test-release) the app to Google Play Console. There were so many modifications carried into the app after releasing so I have to do multiple releases(internal-test-release), for each release I incremented the version value in pubspec.yml. Now the version value reached 2.0.4+9 from 1.0.0+1.

Where 2.0.4 is the version number and 9 is the build number as per Flutter documentation

Every time I upload a release I am not able to see an update option in the play store, I have to delete the app from the device and install it again. (Expected to do an update of the existing app)

I think the issue is with how I do the increment of the version number and build number in each release. So, how to change the version number and build number while updating an app in the Google play console, so that the installed app will show an update button in the play store.

This is how my current pubspec.yml version section looks like: enter image description here

ref-link


Solution

  • You can change the version number and build in your pubspec.yamal

    Example version: 1.0.0+1 to version: 1.0.0+2

    Step 1:

    Create a new release (in my case open testing the process should be the same for release mode also)

    Step 1

    Step 2: Enter details and upload APP bundle

    Step 2

    App bundel App bundel

    Step 3: Save => Review Release => Start roll out

    enter image description here

    Step 4: Wait till the review process is complete

    Your app's update is uploaded and pending review. Step 4 review

    Step 5

    After the review is done your users will update to the latest version of your app gradually. The update may take some time to reflect in the google play store.

    Note:

    1)In the above example version number is the same but the build number is different so it is treated as an update in the google play store. But it is highly recommended to change the version number also.

    2)The example images provided are from open testing (beta) the process should be the same for the release version also.