Hi everyone I'm a newbie to Kotlin/JS and want to ...
# javascript
s
Hi everyone I'm a newbie to Kotlin/JS and want to know if there's any solution that you guys use for integrating Firebase into your web apps?
s
@andylamax does this library work with the newer Kotlin versions? Like 1.7.0+?
I’m getting this error while trying to use GitLive’s Firebase lib in my project with Kotlin version
1.7.20
Copy code
Module "dev.gitlive:firebase-auth" has a reference to symbol dev.gitlive.firebase.auth/FirebaseUser.displayName.<get-displayName>|-7122534302014937473[1]. Neither the module itself nor its dependencies contain such declaration.

This could happen if the required dependency is missing in the project. Or if there is a dependency of "dev.gitlive:firebase-auth" that has a different version in the project than the version that "dev.gitlive:firebase-auth" was initially compiled with. Please check that the project configuration is correct and has consistent versions of all required dependencies.

The list of "dev.gitlive:firebase-auth" dependencies that may lead to conflicts:
1. "kotlin" (a library with unknown version)
2. "dev.gitlive:firebase-app" (a library with unknown version)
3. "dev.gitlive:firebase-common" (a library with unknown version)
4. "org.jetbrains.kotlin:kotlinx-atomicfu-runtime" (a dependency of the library with unknown version or versions mismatch: "org.jetbrains.kotlin:kotlinx-atomicfu-runtime")
5. "org.jetbrains.kotlinx:atomicfu" (a library with unknown version)
6. "org.jetbrains.kotlinx:kotlinx-coroutines-core" (a library with unknown version)
7. "org.jetbrains.kotlinx:kotlinx-serialization-core" (a library with unknown version)
j
See https://github.com/GitLiveApp/firebase-kotlin-sdk/issues/346 🙂 You might have to code in the workaround yourself and include the project as a submodule
s
Thanks @Julius That was my comment only 😄 Shepeliv helped a ton But I ended up not using Firebase at all, instead I found a better alternative called Supabase that has a superb Kotlin Multiplatform Support 👍