Version Number for your App

Where do you set the build number for your app for both iOS and Android so when I actually do a build, the new version number is used. I am using Capacitor 5 and Ionic 7 with Angular 14

1 Like

I usually change it in both Xcode and Android Studio preferences.

I used to change the files directly but now I use the Ionic VS Code extension to do it!

It changes android/app/build.gradle and ios/App/App.xcodeproj/project.pbxproj for you.

1 Like

as others above said and you can also use Trapeze from Ionic team.

1 Like

This is perfect, thanks

1 Like

For Android in build.gradle set

versionCode 1
versionName “1.0”