Openfl Next native extensions and JNI

Hey, so I was wondering what is the status of using native extensions and JNI calls in Openfl Next, I’d really like to abandon Legacy (mostly due to nonpremultiplied alpha :slight_smile: ) and last time I checked (that was a few months ago) JNI wasn’t availble in new openfl. What about now? Can I use JNI and native extensions written in Objective C? Would IAP extension work fine? https://github.com/openfl/extension-iap
Is there some kind of a roadmap where I could see which features aren’t ported from Legacy mode yet?
Thanks!

2 Likes

JNI is definitely working now. I know because I’m using it in my games :smiley: . I’m pretty sure the Haxe API is similar if not the same as legacy so it should work with minimal tweaks.

3 Likes