VersionCode and VersionName in one place for ios and android

I’m migrating on capacitor. In Cordova, there is a config.xml file where there is info about version (name and code). After build for platform, version code is propagated and android (manifest) and ios (xcode project) will be updated automatically.

In Capacitor I read that for update version code and name for android I must edit android/app/build.gradle file. In this case I have 2 different config for each platform.

What is the best practice?

I recommend to use this Ionic-Tool: :blush: It has a great documentation and is very easy to understand. You can easily to native adjustments with it