Search code examples
cordovawindows-phone-8phonegap-plugins

Cordova - set windows phone client version


In Cordova (Phonegap) you have some options to set specific app version for iOS and Android, through the config.xml file:

<widget id="com.MyApp" 
version="2.0" android-versionCode="2217" ios-CFBundleVersion="2.0.2217">

Is there a similar property for windows phone? Even through a plugin.

Any help appreciated. Thanks.


Solution

  • You can create a custom build for Windows Phone. That way you can just modify the widget and edit the version number.

    http://docs.phonegap.com/references/developer-app/custom-build/win/

    EDIT:

    It seems setting the version for Windows Phone is new in apache Cordova 5.4.0.

    CB-9408 Added support for windows-packageVersion on <widget> 
    

    https://cordova.apache.org/news/2015/11/04/tools-release.html

    enter image description here

    Source of image: https://cordova.apache.org/docs/en/5.4.0/config_ref/index.html