Binding to cordova-plugin-image-picker
This plugin defines a global image-picker object, which describes the image-picker's
hardware and software. Although the object is in the global scope, it is not
available until after the deviceready event.
Source: cordova-plugin-image-picker
Only gen_js_api is developed.
Don't forget to switch to a compiler >= 4.03.0.
opam switch 4.03.0
You can use opam by pinning the repository with
opam pin add cordova-plugin-image-picker https://github.com/dannywillems/ocaml-cordova-plugin-image-picker.git
and to compile your project, use
ocamlfind ocamlc -c -o [output_file] -package gen_js_api -package cordova-plugin-image-picker [...] -linkpkg [other arguments]
Don't forget to install the cordova plugin activity indicator with
cordova plugin add cordova-plugin-image-picker
See the official documentation cordova-plugin-image-picker