Currently iOS only.
Binding to cordova-plugin-qrscanner
A fast, energy efficient, highly-configurable QR code scanner for Cordova apps.
Source: cordova-plugin-qrscanner
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
- TODO
- See the official documentation cordova-plugin-qrscanner