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.
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)