Upgrade the expo app version

React Native

Home » Blog » Javascript » React Native » Upgrade the expo app version

Recently I made an expo application but while building it in the server and uploading it to the play store gives me error like “You need to use a different version code for your APK or Android App Bundle because you already have one with version code 1.”

After searching  a lot I found that this can be solved by explicitly defining the versionCode inside the app.json

After that I inserted a additional “versionCode”:2 and the complete app.json file was like

After that run the expo command “expo build:android”. It will going to build the apk file in the server and after downloading from the expo server and uploading it to google play would not have a problem at all. Every time you upgrade the application increase the versionCode number.


About Author

nyasin585

×