ocaml-cordova-plugin-hot-code-push
September 6, 2016 ยท View on GitHub
Binding to cordova-hot-code-push-plugin
What does cordova-hot-code-push-plugin do?
This plugin provides functionality to perform automatic updates of the web based
content in your application. Basically, everything that is stored in www folder
of your Cordova project can be updated using this plugin.
Source: cordova-hot-code-push-plugin
How to install and compile your project by using this plugin?
Don't forget to switch to a compiler >= 4.03.0.
opam switch 4.03.0
- This binding is available in opam
opam install cordova-plugin-hot-code-push
- You can also pin the repository with
opam pin add cordova-plugin-hot-code-push https://github.com/dannywillems/ocaml-cordova-plugin-hot-code-push.git
To compile your project, use
ocamlfind ocamlc -c -o [output_file] -package gen_js_api -package cordova-plugin-hot-code-push [...] -linkpkg [other arguments]
Don't forget to install the npm package cordova-hot-code-push-plugin with
cordova plugin add cordova-hot-code-push-plugin
How to use?
See the official documentation cordova-hot-code-push-plugin