bind icon indicating copy to clipboard operation
bind copied to clipboard

Design a `bind.json` file format allowing to create full-featured iOS/Android extensions for Haxe

Open jeremyfa opened this issue 6 years ago • 1 comments

The idea would be to create a bind.json file that provides all required information to actually make and iOS/Android extension work with Haxe.

For instance, on iOS, it would allow to specify:

  • Objective-C/Swift files that are exposed to Haxe
  • A podspec file (relies on Cocoapods) allowing to include and configure everything needed on iOS side of things

On Android, it would allow to specify similar informations:

  • Java files that are exposed to Haxe
  • Android dependencies it may need (relies on Gradle dependency system, accepts jcenter libs)
  • An Android Studio project (or built AAR) dependency that will be included in final app

I would make it possible to run a single call of bind utility to make an iOS/Android extension work with various build systems.

It would be possible to generate a lime/openfl-compatible include.xml file if lime can handle bind requirements (Xcode workspaces with Cocoapods dependencies, Gradle AAR/jcenter dependencies).

jeremyfa avatar Feb 07 '18 15:02 jeremyfa

Incredible work on this quite impressive.

PXshadow avatar Feb 07 '18 22:02 PXshadow