/cordova-api-example

A sample app using the experimental Cordova API from CordovaPlatformProject.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Cordova API Example

A sample app using gulp and the experimental Cordova API from cordova-platform-project.

Note!

  • CordovaPlatformProject is experimental and will change.
  • It does not yet expose full functionality of cordova.
  • Somewhat older CordovaGulpTemplate is more stable.

Usage

git clone
cd cordova-api-example
npm install
npm install gulp -g   # if you don't have it yet
gulp create
gulp build/run/emulate

Basic iteration: change a file under www, run gulp - the default task will build and run the app.

Adding or removing a plugin:

 gulp clean
 npm (un)install --save cordova-plugin-file
 gulp create