I am developing an app using Ionic and Capacitor. Builds are generated using Ionic's new AppFlow service, so I don't build them locally.
How do I go about updating the iOS and Android version numbers? I've tried updating the plist and config.xml, but all updates result in a version number of "1.0", regardless of what I do.
Install iOS 16Go to Settings > General > Software Update. Tap Install Now.
So, Capacitor is neat! The android and ios configs are actually committed to source control. To update version number, simply update the following files:
android/app/build.gradle
(you're looking for the versionName
variable)ios/App/App/Info.plist
*(you're looking for the CFBundleShortVersionString
key)In Android Studio 4.2.1 We can set version values in File > Project Structure > Modules > Default Config
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With