layout: post author:
name: Steve Gill
url: https://twitter.com/stevesgill
title: "Tools Release: March 02, 2015" categories: news
New versions of cordova tools are now live!
To update your tools:
If you have cordova
installed:
npm install -g cordova
If you have plugman
installed:
npm install -g plugman
Release highlights:
iOS-deploy
dependency to launch on iOS devices. Please run npm install -g ios-deploy
to install the latest version 1.4.0
.--save
command when adding platforms and plugins to your project.
Saved platforms and plugins are automagically restored during prepare.
Ex. cordova platform add android --save
.
This should make it easier developing cordova projects among a team.plugman createpackagejson <plugin_path>
to add a package.json
file to their plugins.When adding these platforms to your project, the following versions are now used by default. These platform versions were released recently, and the tools' defaults were updated:
npm
dependency due to issues with registrycreatepackage.json
keyword to ecosystem:cordova
platformId
-> platformName
--save
flag for pluginsconfig.xml
error installing browser platform after pluginbuild.js
after plugin add
so that Android Studio will work without needing an explicit command-line build firstcordova plugin add FOO
use version from config.xmlcordova platform add PATH
when PATH is relative and CWD != project root--save
flag and autosave to cordova platform add
, cordova platform remove
and cordova platform update
compile
: bubble failurescordova platform update
should ignore <cdv:engine>
<framework custom=false>
work with Gradleplugman publish
to temporarily rename existing package.json
filesplugman createpackagejson .
command to create a package.json
from plugin.xml
<runs>
tag parsingplugman publish
without args default to CWD<framework>
directory upon uninstall--link
for platform add
and platform update
src
plugin.xml
parsing use PluginInfo
insteadPluginInfo
use PluginInfoProvider
insteadPluginInfoProvider
for better caching of PluginInfo
config.xml
in the Browser platform--list
support for cordova-lib<source-file>
is missing target-dir
addUninstalledPluginToPrepareQueue
take pluginId
rather than dirName
cordova platform update
documentation to include <plat-spec>
--version
print out cordova-lib version if it's not the same as CLI's version--link
help text--list
support for CLI--save
option to cordova platform add
, cordova platform remove
and cordova platform update
CordovaCliCreate.prototype.run
vaguely correcthidekeyboard
& showkeyboard
eventsnavigator.app
exec()
callssymbolList
requireexec
callbacks within their own stack framesonDestroy
channelcallbackFromNative
methodplugman createpackagejson .
command to generate a package.json
file from plugin.xml
plugman publish
without args