Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 536 Bytes

File metadata and controls

24 lines (19 loc) · 536 Bytes

ocaml-cordova-plugin-device-example

This is an example of the binding to the cordova-plugin-device. 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