Binding to cordova-plugin-x-socialsharing
This plugin allows you to use the native sharing window of your mobile device.
Source: cordova-plugin-x-socialsharing
Don't forget to switch to a compiler >= 4.03.0.
opam switch 4.03.0
- If you added ocaml-cordova-plugin-list as opam package provider, you can use
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
- See the official documentation