Is it currently possible to depend on 3rd party li...
# multiplatform
k
Is it currently possible to depend on 3rd party libraries in a Kotlin Multi-platform library project? e.g. I want to write an auth library that wraps Auth0.swift and Auth0.Android that produces a iOS framework and android jar
l
Yes, it is possible. Do you have any issues with that?
k
Yeah I found that Kotlin cannot depend on pure swift libraries so unless I write a Obj-C wrapper on top of it first not really possible. I don't want to do that because than I would have
Auth0.swift -> Obj-C wrapper framework -> Kotlin -> Swift -> Obj-C -> JS
We are working on moving ReactNative business logic down to native code and thought it would be cool if we could share the code with Kotlin.