BT

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

PhoneGap 2.3.0 with Windows Phone 8 Support

| by Anand Narayanaswamy on Jan 30, 2013. Estimated reading time: 2 minutes |

Adobe Systems has released PhoneGap 2.3.0 with full support for Windows Phone 8. It also includes support for InAppBrowser which enables you to view video files in full screen mode. The new release provides an ability to delete incomplete file when a file transfer is aborted and also includes URLisAllowed() method abstraction for plugins to query.

PhoneGap 2.3.0 includes a helper script to convert Cordova.plist to config.xml and includes several bug fixes which are detailed on the official changelog. The device.name property has been deprecated for all platforms and a new property named device.model has been released to replace it.

The InAppBrowser has the same functionality as the ChildBrowser, includes event support and does not make use of the app whitelist.

var ref = window.open('http://infoq.com', '_blank');
ref.addEventListener('loadstart', function(event) { alert(event.type + ' - ' + event.url); } );
ref.addEventListener('loadstop', function(event) { alert(event.type + ' - ' + event.url); } );
ref.addEventListener('exit', function(event) { alert(event.type); } );

PhoneGap 2.3.0 has fixed an exception while searching for emails in contacts. It also fixed an issue while adding photo from a HTTPS address to contact and cordova commands for paths with spaces in them.

PhoneGap applications developed for Windows Phone 8 platform load faster because the resources need not be unpacked to isolated storage. In WP8, you need not have to move JavaScript, CSS and HTML files to the sandboxed file system as in WP7. Moreover, PhoneGap 2.3.0 provides support for multiple screen sizes, scalable vector graphics (SVG), ES5 and gesture events.

With the release of PhoneGap 2.3.0, support for iOS 4.x has been dropped. The Cordova.plist file has been renamed to config.xml and several cordova cli commands have been renamed. For example, debug has been renamed to build with the addition of new commands such as release and run.

In his blog post, Jesse MacFadyen has stated that PhoneGap 2.3.0 is a result of active collaboration between Microsoft and Apache Cordova project.

"Support for WP7 is continuing. While there are still many devices and an active market I still consider this a viable solution. Recent changes were committed to Apache Cordova for WP7 so that apps targeting WP7 can still run on WP8 devices," said Jesse.

When Sindre Haaland mentioned about the bug in getCurrentPosition() on Android 4.0.3 / 4.1.1, Simon MacDonald in reply mentioned that he is unable to see any problem and requested to provide steps to reproduce the bug.

Simon also advised to make use of Foreground Camera Plugin while answering a query related to images. He also mentioned about the possible implementation of camera functionality (although difficult) in the upcoming releases.

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 with curated articles from top InfoQ editors

"You dont know what you dont know" change that by browsing what our editors pick for you.

BT