Binding to cordova-plugin-touchid
Cordova Plugin to leverage the iOS local authentication framework to allow
in-app user authentication using Touch ID.
Source: cordova-plugin-touchid
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-touchid https://github.com/dannywillems/ocaml-cordova-plugin-touchid.git
and to compile your project, use
ocamlfind ocamlc -c -o [output_file] -package gen_js_api -package cordova-plugin-touchid [...] -linkpkg [other arguments]
Don't forget to install the cordova plugin touchid with
cordova plugin add cordova-plugin-touchid
See the official documentation cordova-plugin-touchid