Awesome
ocaml-cordova-plugin-toast
Binding to EddyVerbrugen Cordova_toast plugin.
What does the toast plugin do ?
This plugin allows you to show a native Cordova_toast (a little text popup) on iOS,
Android and WP8. It's great for showing a non intrusive native notification
which is guaranteed always in the viewport of the browser.
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-toast https://github.com/dannywillems/ocaml-cordova-plugin-toast.git
and to compile your project, use
ocamlfind ocamlc -c -o [output_file] -package gen_js_api -package cordova-plugin-toast [...] -linkpkg [other arguments]
Don't forget to install the cordova plugin toast with
cordova plugin add cordova-plugin-x-toast
How to use it ?
See the official documentation: EddyVerbrugen Cordova_toast plugin