Archived Blog

All the old blog posts, written from 2008 to 2017

Cordova 3.5.0 Now on PhoneGap Build

PhoneGap Build has added support for Cordova 3.5.0. For more info about this release, check out these handy links: Apache Cordova 3.5.0 blog post (including changelog) Cordova iOS 3.5.0 source repo Cordova Android 3.5.0 source repo To build with 3.5.0, add the following to your config.xml: <preference name="phonegap-version" value="3.5.0" />...

Cordova Sample: Reading a text file

A few weeks back I began a list of questions to help build a PhoneGap/Cordova File System FAQ. (More on that at the very end.) As I work through the questions I'm building little samples (like this one) to help demonstrate various FileSystem features. Today's is really simple, but as...

2 Quick Tips When Adding PhoneGap/Cordova Plugins

Here are a few quick tips when adding plugins in case you weren't aware of them previously: Useful command line shortcuts when adding a plugin: Add a specific version of a plugin using the @ syntax $ phonegap plugin add org.apache.cordova.camera@0.2.9 $ cordova plugin add org.apache.cordova.camera@0.2.9 Add multiple plugins batch...

Cordova Plugins update, and new Contacts demo

Yesterday the Cordova team released updated plugins. You can read the details here: Plugins Release: July 8, 2014. Of particular interest to me was the update to the Contacts plugin, specifically the addition of a new API, pickContact. Previously, you could search the device's contact database, but there was no...