to be consumed by iOS and Android. Do I still have to use both
externalNativeBuild
for android along with using
cinterops
for iOS? I was hoping there is a better way 🤞
This is how zipline does it, and also explained in this tutorial
l
Landry Norris
08/10/2023, 9:33 PM
You can use K/N to write the jni bindings on Android. I did this on a previous project. I had a gradle task that builds the binary and moves it to the proper folder where Android can find it during the build. This avoids having any C code in your project.