Twitter: raymondcamden


Address: Lafayette, LA, USA

PhoneGap 2.4.0 Released

02-08-2013 5,234 views Mobile 1 Comment

The title pretty much says it all. PhoneGap 2.4.0 was released today. You can read the official blog entry on it here: PhoneGap 2.4.0 Released.

The blog entry only makes mention of the Cordova CLI tools being rolled in. These tools make PhoneGap incredibly easy to use. Holly Schinsky blogged about them a few months ago. They kind of act like a "meta" tool for the core PhoneGap command line tools. You can quickly generate projects for multiple operating systems as well as quickly build and deploy them to testing devices. If you haven't checked out these tools yet, please give them a shot. You can find the official docs for them here.

The changelist for 2.4.0 may be found here and has a few interesting tidbits. Hopefully we will see further details in the future. Right now these in particular interest me:

Android
7530c21 Full binary data support.
a120614 Initial input type=file support

If "full binary data support" implies we can use binary data from JavaScript (by the way, you know modern desktop browsers support that, right?) it will mean some APIs I've had trouble with in the past should start working again. In particular, you can't push files to Parse.com because of this. (There is a workaround though where you can push to S3 and simply have Parse use a S3 URL for the property.)

If I can dig up more on this, I'll let yall know.

Another new feature (that isn't documented yet) is the ability to use slices in file reading. This means you can read a portion of a file as opposed to the entire thing.

1 Comment

Post Reply

Please refrain from posting large blocks of code as a comment. Use Pastebin or Gists instead. Text wrapped in asterisks (*) will be bold and text wrapped in underscores (_) will be italicized.

Leave this field empty