Does something akin to a Kotlin/Native common library exist? (I'm looking for a way to write platform-indenpendent code common to all native targets that would be extended in target specific modules using platform specific code.)
You could use MPP for this with multiple native targets and expect/actual classes for the items common across the different native targets. It’s not ideal but should work.
d
Dominaezzz
04/22/2019, 12:06 PM
It would work if
kotlinx.cinterop
was also multiplatform but it's not (At least not according to the IDE).
o
olonho
04/23/2019, 5:09 AM
cinterop is multiplatform between Native flavours, as the rest of standard library