Compatible with Haxe 3.2+.
- cordova-plugin-file,
- cordova-admob-pro,
- cordova-plugin-ble-central,
- cordova-plugin-bluetooth-serial,
- cordova-plugin-calendar,
- cordova-plugin-camera,
- com.verso.cordova.clipboard,
- cordova-plugin-device,
- cordova-plugin-email-composer,
- phonegap-facebook-plugin,
- cordova-plugin-globalization,
- cordova-plugin-inappbrowser,
- ionic-plugin-keyboard,
- cordova-plugin-listpicker,
- cordova-plugin-local-notifications,
- cordova-plugin-media,
- cordova-plugin-network-information,
- cordova-open,
- phonegap-plugin-push,
- pushwoosh-cordova-plugin,
- cordova-plugin-screen-orientation,
- cordova-plugin-x-socialsharing,
- cordova-plugin-splashscreen,
- cordova-plugin-statusbar,
- cordova-plugin-streaming-media,
- cordova-plugin-x-toast,
- com.bunkerpalace.cordova.YoutubeVideoPlayer.
And more to come...
Use example with the Camera plugin:
// hybrid app that differenciates cordova builds from web builds
#if cordova
js.cordova.plugin.Camera.getPicture(
function(pd : String) {
// then send pd to server
},
function(e : String) {
// display error to user
},
{
allowEdit : true,
targetWidth : 400,
targetHeight : 400
});
#else
trace("camera not available on this platform");
#end
Those externs can sometimes partially cover their original lib. Do not hesitate to contribute with new externs, updates to existing externs or even better approaches for those externs.