Can someone show me how to use KN implementation i...
# kotlin-native
d
Can someone show me how to use KN implementation in Android JVM activities with JNI? Imagine if one used KN and C-libraries for the app core logic, for example, network request, json-parsing and view state machine. I jues one can use it with the rest of JVM-android part via JNI. I suppose reusing it in IOS would be easier, as c libraries are there for free.
n
Kotlin Native doesn't support JNI.
d
Interesting if it's possible and if KN team has plans for it. I see 2 scenarios here - migrate C code to Kotlin Native in your work with NDK for maintainability and your personal happiness - straightforward usage of C libraries in you core modules: parsing, formatting, Math, etc, thus making the interface for the other platform-depenent modules clean and compact
o
This operation mode is not yet supported, but this may change in future releases