layout: post author:
name: Steve Gill
url: https://twitter.com/stevesgill
title: "Apache Cordova 3.4.0" categories: announcements
We are happy to announce that Cordova 3.4
has been released!
This release has various bug fixes for all of our supported platforms.
Our friends at Mozilla have put together a blog post about getting started with Cordova Firefox OS. Check it out at https://hacks.mozilla.org/2014/02/building-cordova-apps-for-firefox-os/.
To upgrade: (replace android
with the platform you want to update):
npm install -g cordova
cd my_project
cordova platform update android
For non-CLI projects or for pre-3.0 projects, refer to the upgrade guides.
Android: 43 commits from 10 authors. Highlights include:
addJavascriptInterface
support from all Android versions lower
than 4.2 due to security vulnerabilityloadUrlIntoView
overload that doesn't recreate plugins.ant-build
to avoid conflicts with Eclipse.cordova/emulate
on Windows.exec
->spawn
in build to make sure compile errors are shown.OkHTTP
to 1.3config.xml
at the root
now that it isn't in www/
by default.onDestroy
to app plugin to deregister telephonyReceiver
.project
file to create template. For CLI projects,
it adds refs for root www/
& config.xml
and hides platform versionsandroid:debuggable=“true”
from project template.openExternal
when scheme is file:--emulator
vs --device
config.xml
at the root now that it's not in www/ by default..gitignore
in template to gitignore (and add the dot in the script).UIScrollViewDecelerationRateNormal
by default.User-Agent
cache key.config.xml
within copy-www-build-step.sh instead of in Copy Resoruces step--cli
option to bin/create
that has ../../www/
../../merges/
within the projectlocation.reload()
not firing deviceready
.exec()
bridge.location.hash
based exec()
bridge.WebView
doesn't properly initialize when instantiated from a xibdefaults.xml
templatebin/create
run bin/check_reqs
..gitignore
from cordova-ios excludes platforms/cordova/build
filecreateTemplates
should install theme for VS-2013 as wellweinre
disconnects when history.replaceState
is usedconfig.xml
Windows Phone 7 is now deprecated! Consider upgrading your projects to Windows Phone 8 as we will be dropping support completely in version 3.7.0 Read the retrospective here: http://www.risingj.com/archives/585
config.xml
--release
to run command-l
param as it does --loglevel
--device
to the run scriptenabledelayedexpansion
to handle )s in pathcheck-reqs
skipped checking logic on second pass-through - Removed dependinfo
case from functionplatform check
command: Shows platforms that are out of dateconfig.xml
android_parser.js
--source
-> --copy-from