Leolando Tan
Leolando Tan

Reputation: 161

Different Android and iOS app version

Good day,

Previously I had an issue on my iOS app only so I incremented the PATCH part of my version in config.xml, say from 1.1.19 to 1.1.20 while my Android app is still at 1.1.19.

Now I have both updates for both apps. My questions are:

  1. If possible, can I set a different version for iOS and Android i.e. iOS would now be 1.1.21 while the Android app would be at 1.1.20?
  2. If #1 is not possible, would it still be best practice to let the Android app version skip 1.1.20 and go to 1.1.21 so they will be in the same version with the iOS app?

Thanks guys!

Upvotes: 1

Views: 970

Answers (2)

jcesarmobile
jcesarmobile

Reputation: 53301

In the config.xml, you can use version for Android version and ios-CFBundleVersion for iOS version, so you can use different version numbers for each platform.

<widget id="io.cordova.hellocordova" version="1.1.20" ios-CFBundleVersion="1.1.21" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> </widget>

Upvotes: 1

Kingsley Mitchell
Kingsley Mitchell

Reputation: 2589

If possible, can I set a different version for iOS and Android i.e. iOS would now be 1.1.21 while the Android app would be at 1.1.20?I assume you are using cordova or something like this. Answer below

If #1 is not possible, would it still be best practice to let the Android app version skip 1.1.20 and go to 1.1.21 so they will be in the same version with the iOS app? skip 1.1.20 and go to 1.1.21

Then you have both versions on the same level

Upvotes: 1

Related Questions