layout: post author:
name: Rob Paveza
url: https://twitter.com/robpaveza
title: "Apache Cordova Windows 4.1.0" categories: announcements
We are happy to announce that Cordova Windows 4.1.0
has been released and will be the
default Windows version after next cordova-cli
release.
This release aligns with the RTM release of Windows 10, and supports the web platform enhancements that it included, such as hosted apps and a new version of WinJS. It also supports the new .NET Native compilation model for Cordova plugins which include a native or .NET component.
There are also a number of bug fixes, including platform dependency problems and the ability to perform a cordova prepare
for Windows while on a Mac.
Finally, user-configurable packaging parameters are now fully baked, so that Windows code signing requirements don't overwrite code signing requirements for other platforms. Use the windows-packageVersion
attribute of <widget>
in config.xml to specify an independent version for Windows Store submission, and to incorporate the name of the application which is assigned by the Windows Store, set the <preference>
named WindowsStoreIdentityName
.
Now there is support to see console.log messages and exceptions from your app in the console. This can be useful for quick diagnostics. In an admin command prompt, you can run:
platforms\windows\cordova\log
To upgrade:
npm install -g cordova
cd my_project
cordova platform update windows@4.1.0
To add it explicitly:
cordova platform add windows@4.1.0 --save
For non-CLI projects or for pre-3.0 projects, refer to the upgrade guides.
WindowsStoreIdentityName
preference for Store publishingwindows-packageVersion
attribute to the <widget>
elementKnown Issues with 4.1.0 and Windows 10