Issue
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.
Solution
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 -
android/app/build.gradle
(you're looking for theversionName
variable) - iOS -
ios/App/App/Info.plist
*(you're looking for theCFBundleShortVersionString
key)
Answered By - Bryant James
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.