npm.io
5.2.12 • Published 7 years ago

cordova-plugin-liveupdate

Licence
MIT
Version
5.2.12
Deps
5
Size
104 kB
Vulns
0
Weekly
0
Stars
79

Ionic Cordova SDK

Supported platforms: iOS, Android

Setup

cordova plugin add cordova-plugin-liveupdate

The plugin will be available on window as IonicCordova

Live Updates

Preferences
  • DisableDeploy - Default value is false.

Allows to disable deploy updates by adding this preference in the config.xml

<preference name="DisableDeploy" value="true" />

API Docs

External modules

Contributing to this plugin

npm install
npm run create-dev

This will create a blank Ionic app in a local tmp directory with the plugin and dependencies installed, and the iOS platform added. Native plugin code is installed with --link and any changes to the typescript in www will be copied over into the app's platforms/ios and platforms/android directories.

Some other helpful dev commands
npm run apply-dev

Updates the linked plugin in the tmp test app with your JavaScript changes

npm run watch

Watches for Typescript changes

npm run watch-dev

Watches for Typescript changes, then runs the apply-dev script to propogate them to the testing app.

Keywords