Skip to content

dannywillems/ocaml-cordova-plugin-social-sharing

Repository files navigation

ocaml-cordova-plugin-social-sharing

LGPL-v3 licensed Build Status

Binding to cordova-plugin-x-socialsharing

What does cordova-plugin-social-sharing do ?

This plugin allows you to use the native sharing window of your mobile device.

Source: cordova-plugin-x-socialsharing

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
opam install cordova-plugin-social-sharing
  • Else, you can use opam by pinning the repository with
opam pin add cordova-plugin-social-sharing https://github.com/dannywillems/ocaml-cordova-plugin-social-sharing.git

To compile your project, use

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

Don't forget to install the cordova-plugin-x-social-sharing with

cordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin

How to use ?

About

Binding OCaml to cordova-plugin-x-socialsharing using gen_js_api.

Resources

License

Stars

Watchers

Forks

Packages

No packages published