Hi guys 👋 qq is there a way to use SPM packages in commonMain for Android platform. Like for example the iOS team has a couple features they have built as spm packages that we would like to use in Android. Instead of building those features from scratch we would like to find a way to reuse that code in Android.
h
hfhbd
09/30/2024, 8:46 PM
Do you target Android JVM? Then you need to use JNI, and mostly need to write the C wrapper by yourself.
For Android Native, it should be possible to call the c api directly, but the setup will be challenging I guess.