Has anyone had any success getting Kotlin to work ...
# javascript
g
Has anyone had any success getting Kotlin to work with React Native?
e
Hi Graham, I’m trying to make them work together at the moment. But there are different levels of integration. I’m not trying to write all my React Native code in Kotlin. I’m just trying to produce an npm module written in Kotlin and compiled to JS, that is then used by my RN app
Basically I want the Models and Repositories stack, as well as most of the business logic to be written in Kotlin to make it multiplatform. This library can then be used by the RN app and also by the backend (written in Kotlin, running on Ktor)
b
@gbaldeck I came across this one: https://github.com/ScottPierce/kotlin-react-native
haven’t tried it yet though