Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-dynamic-update

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-dynamic-update

Cordova Plugin to dynamically update the app www directory.

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Dynamic Update Plugin for Apache Cordova

Cordova Plugin to automatically update your Cordova Android app, given an externally hosted zip of the www update.

Install

Latest published version on npm (with Cordova CLI >= 5.0.0)
cordova plugin add cordova-plugin-dynamic-update
Latest version from GitHub
cordova plugin add https://github.com/leecrossley/cordova-plugin-dynamic-update.git

Usage

You do not need to reference any JavaScript, the Cordova plugin architecture will add a dynamicupdate object to your root automatically when you build.

Ensure you use the plugin after your deviceready event has been fired.

Download

Downloads the zip file of your update.

var url = "http://your.zip.url/file.zip";

dynamicupdate.download(onSuccess, onError, url);

Deploy

Deploys the last downloaded zip file. There is no success callback, as the updated app is automatically started.

dynamicupdate.deploy(onError);

Platforms

Android only. iOS guidelines prohibit this behaviour.

License

MIT License

Keywords

FAQs

Package last updated on 06 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc