packages icon indicating copy to clipboard operation
packages copied to clipboard

[pigeon] kotlin jni implementation

Open tarrinneal opened this issue 2 months ago • 3 comments

Async Flutter Api's not supported.

tarrinneal avatar Oct 23 '25 19:10 tarrinneal

/gemini review

tarrinneal avatar Nov 06 '25 21:11 tarrinneal

Thanks for the great work on this PR. I have a question regarding the platform API differences.

On the Kotlin side, the new JNI communication layer introduces both synchronous and asynchronous APIs. Does this mean that on the Dart side we now need to generate both sync and async interfaces as well?

Also, is there any planned support for Swift FFI communication similar to the new Kotlin/JNI approach?

vlastachu avatar Nov 17 '25 11:11 vlastachu

On the Kotlin side, the new JNI communication layer introduces both synchronous and asynchronous APIs. Does this mean that on the Dart side we now need to generate both sync and async interfaces as well?

Both are generated currently, you can decide which to use after generation (and probably before at some point, if you don't want both)

Also, is there any planned support for Swift FFI communication similar to the new Kotlin/JNI approach?

Yes

tarrinneal avatar Nov 17 '25 19:11 tarrinneal