Cordova community recently released version 3.5.0 of Cordova for Firefox OS. Cordova 3.5.0 for Firefox OS includes some exciting improvements to the Firefox OS development workflow.
Make sure you have the latest version by running:
$ sudo npm install -g cordova
$ sudo npm install -g plugman
Improved manifest management
Cordova will create and update the manifest based on your config.xml file. In the new version, plugins can add configuration specifying which permissions are necessary. Whenever you run a cordova prepare, the manifest is updated based on your configuration. Now you can have all your app’s information in one place.
Building packages with Cordova
Now cordova build or Cordova compile will create a zip of your packaged app in the build folder inside the platform/firefoxos folder.
A fresh batch of core plugins were released too. Firefox OS support to a few more plugins:
To update to the latest version of the plugins, you need to remove and add them again. For example, to use the latest version of the file plugin run:
$ cordova plugin rm org.apache.cordova.file
$ cordova plugin add org.apache.cordova.file