/ocaml-cordova-plugin-sim-card-example

Example of the binding OCaml to cordova-plugin-sms using gen_js_api.

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

ocaml-cordova-plugin-sim-card-example

Build Status

This is an example of the binding to the cordova-plugin-sim. See the binding here.

How to compile?

  1. Add the plugin list repository as a remote opam package provider with
opam repository add cordova https://github.com/dannywillems/ocaml-cordova-plugin-list.git
  1. Initialize the project directory with
make init
  1. Run (and build).
# Run on Android
make run_android
# Run on iOS
make run_ios