/ocaml-cordova-plugin-splashscreen

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

Primary LanguageShellGNU Lesser General Public License v3.0LGPL-3.0

ocaml-cordova-plugin-splashscreen

LGPL-v3 licensed Build Status

Binding to cordova-plugin-splashscreen

What does cordova-plugin-splashscreen do ?

This plugin is required to work with splash screens. This plugin displays and
hides a splash screen during application launch.

Source: cordova-plugin-splashscreen

Repository branches and tags

Only gen_js_api version is provided

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

and to compile your project, use

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

Don't forget to install the cordova plugin splashscreen with

cordova plugin add https://github.com/apache/cordova-plugin-splashscreen

How to use ?