How can I include two Kotlin frameworks in an app?...
# kotlin-native
h
How can I include two Kotlin frameworks in an app? I'm getting
Only one Kotlin framework can be loaded currently
. version 1.3.0-rc57
r
Can you pull your dependencies in as klibs instead, and produce just one framework from them?
h
Right now I have native module that consumes another native module, with this setup it produces frameowork that works on it's own, but I cant access members from the module it counsmed. Not all classes are present in
.h
file that's produced.
So far the solution is to create
object
in the outer module and reference things that I need. Not the worst thing, considering I only need other `object`'s from inner module.
o
You can not include more than one framework to the app now, generally frameworks cannot interoperate on object level, so it doesn’t make much sense anyway