Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News PhoneGap 2.3.0 with Windows Phone 8 Support

PhoneGap 2.3.0 with Windows Phone 8 Support

This item in japanese

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 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 ='', '_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