firebase-kotlin-sdk
firebase-kotlin-sdk copied to clipboard
Cannot access functions under JS
trafficstars
In my JS project if I try to use .js to access the underlying SDK, I get an error from the compiler.
Cannot access class 'dev.gitlive.firebase.firebase.database.Reference'. Check your module classpath for missing or conflicting dependencies
example:
actual suspend fun DatabaseReference.safeSetValue(any: Any) {
js.set(any)
}
This is caused by setValue causing an error in the transpiled JS, for which I will open a separate issue.