Has anyone experience with Kotlin/JS and Realm?

To be honest I’m wondering if this is at all possible. I can add the dependency as
implementation(npm()), but I’m not sure how to integrate it. The alternative, adding it from kotlin, doesn’t progresses beyond updating the gradle file

The Kotlin SDK doesn’t support the JS target yet, and it is still some way out as we need to enable wasm support first.

Using the Realm JS SDK should in theory be possible, but you would need to write some sort of interface in Kotlin that uses expect/actual and then delegates to the JS code. I have not tried this myself, and depending on what you want to do, it might also involve a fair amount of code.

Not sure if that answers your question?

Good answer, although I had hoped for a different answer.