Home

Awesome

ocaml-cordova-plugin-qrscanner

LGPL-v3 licensed Build Status

Currently iOS only.

Binding to cordova-plugin-qrscanner

Example application.

What does cordova-plugin-qrscanner do ?

A fast, energy efficient, highly-configurable QR code scanner for Cordova apps.

Source: cordova-plugin-qrscanner

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-qrscanner https://github.com/dannywillems/ocaml-cordova-plugin-qrscanner.git

and to compile your project, use

ocamlfind ocamlc -c -o [output_file] -package gen_js_api -package cordova-plugin-qrscanner [...] -linkpkg [other arguments]

Don't forget to install the cordova plugin qrscanner with

cordova plugin add cordova-plugin-qrscanner

How to use ?