An iOS app has a version an a build number. When using config.xml of a PhoneGap/Cordova project I can set
<widget id="bundlename" version="1.1.0" xmlns="" xmlns:cdv=".0">
This property sets the version as well as the build to 1.1.0.
Is there a way to set the version and build number separately in the config.xml?
An iOS app has a version an a build number. When using config.xml of a PhoneGap/Cordova project I can set
<widget id="bundlename" version="1.1.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
This property sets the version as well as the build to 1.1.0.
Is there a way to set the version and build number separately in the config.xml?
Share Improve this question asked Sep 15, 2014 at 23:39 MichaelMichael 33.3k50 gold badges223 silver badges374 bronze badges1 Answer
Reset to default 22<widget id="io.cordova.hellocordova" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
</widget>
<!-- Android -->
<widget versionCode="0.1.3">
</widget>
<!-- iOS -->
<widget CFBundleVersion="0.1.3">
</widget>
<!-- Windows -->
<widget packageVersion="0.1.3">
</widget>
From https://cordova.apache.org/docs/en/dev/config_ref/index.html#widget.