Skip to content

dannywillems/ocaml-cordova-plugin-qrscanner

Repository files navigation

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 ?

About

Binding in OCaml to cordova-plugin-qrscanner using gen_js_api.

Resources

License

Stars

Watchers

Forks

Packages

No packages published