Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.3 KB

File metadata and controls

45 lines (32 loc) · 1.3 KB

ocaml-cordova-local-notifications

Binding to cordova-plugin-local-notifications

cordova-plugin-local-notifications ?

This plugin implements local notifications on an Android or Apple device.

Source: cordova-plugin-local-notifications

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

and to compile your project, use

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

Don't forget to install the cordova local notifications plugin with

cordova plugin add https://github.com/katzer/cordova-plugin-local-notifications.git

How to use ?

See the official documentation cordova-plugin-local-notifications

Contributors