BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

PhoneGap 2.7 Released, 1.9 Officially Deprecated

| by Jonathan Allen on May 30, 2013. Estimated reading time: 1 minute |

In conjunction with the release of PhoneGap 2.7, Adobe has announced that they are dropping support for everything before PhoneGap 2.0. This includes version 1.9, which is less than one year old. At the end of April, Ryan Willoughby explained their reasoning,

With the evolution of PhoneGap since 1.x, the Cordova architecture has gone through numerous improvements and redesigns. Removing support for 1.9 and earlier will allow us to simplify our infrastructure and improve the performance of PhoneGap Build.

iOS Changes

In addition to the usual bug fixes, version 2.7 brings with it better support for uploading and downloading files.

  • [CB–2537] Implement streaming downloads for FileTransfer
  • [CB–2190] Allow FileTransfer uploads/downloads to continue in background

Android Changes

Android has several breaking changes. Plugin.java has been deprecated in favor of CordovaPlugin and device.name has been removed. But the biggest one is the ongoing problems with WebSQL. Joe Bowser explains,

The last change is the most irritating and is one that we’re currently struggling with. Many people use WebSQL in their applications. The problem with this is that it’s not a supported W3C specification, and as such is something that not every platform supports. On Android 3.x and up, the Android team made it so that file URIs can’t open databases. A workaround from the early days of Cordova was used to get around this issue, but there are numerous design issues, and this isn’t guaranteed to work the same way as WebSQL. This is why, for now, we recommend that people use the WebStorage APIs instead of WebSQL, because it is supported across platforms, and is much less likely to break. And even when WebStorage does break, we will fix WebStorage, even if it means breaking WebSQL.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT