Skip to content

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

Description

@jeremyfa

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).

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions