cordova 0.0.1

Set of externs to use Apache Cordova plugins with Haxe js.

Released 2016-10-10.

To install, run:

haxelib install cordova 0.0.1

See using Haxelib in Haxelib documentation for more information.

Current version0.0.1
StatisticsInstalled 9 times
Tags cordova, javascript, js, phonegap

Haxe js externs for Apache Cordova / PhoneGap

Compatible with Haxe 3.2+.

List of supported externs

And more to come...


Use example with the Camera plugin:

// hybrid app that differenciates cordova builds from web builds
#if cordova

				function(pd : String) {

					// then send pd to server

				function(e : String) {

					// display error to user

					allowEdit : true,
					targetWidth : 400,
					targetHeight : 400
			trace("camera not available on this platform");


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.