This is an example of the binding to the cordova-plugin-device. See the binding here.
- Add the plugin list repository as a remote opam package provider with
opam repository add cordova https://github.com/dannywillems/ocaml-cordova-plugin-list.git
- Initialize the project directory with
make init
- Run (and build).
# Run on Android
make run_android
# Run on iOS
make run_ios