Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jeremyfa opened this issue Feb 7, 2018 · 1 comment
Assignees

Comments

@jeremyfa
Copy link
Owner

jeremyfa commented Feb 7, 2018

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 jeremyfa self-assigned this Feb 7, 2018
@jeremyfa jeremyfa changed the title Design a bind.json file format allowing to create iOS/Android extensions with external dependencies and more Design a bind.json file format allowing to create full-featured iOS/Android extensions for Haxe Feb 7, 2018
@jeremyfa jeremyfa changed the title Design a bind.json file format allowing to create full-featured iOS/Android extensions for Haxe Design a bind.json file format allowing to create full-featured iOS/Android extensions for Haxe Feb 7, 2018
@PXshadow
Copy link

PXshadow commented Feb 7, 2018

Incredible work on this quite impressive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants