dannywillems / ocaml-cordova-plugin-social-sharing

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:GNU Lesser General Public License v3.0


Languages

Language:OCaml 60.2%Language:Shell 21.5%Language:Makefile 18.3%