Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.49 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.49 KB

ocaml-cordova-plugin-touchid

LGPL-v3 licensed Build Status

Binding to cordova-plugin-touchid

Example application.

What does cordova-plugin-touchid do ?

Cordova Plugin to leverage the iOS local authentication framework to allow
in-app user authentication using Touch ID.

Source: cordova-plugin-touchid

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

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

How to use ?

See the official documentation cordova-plugin-touchid