I’m trying to use <this library> which is for Fire...
# koin
m
I’m trying to use this library which is for Firebase on Compose multiplatform with Koin, but I’m receiving:
Copy code
Caused by: org.koin.core.error.NoBeanDefFoundException: No definition found for type 'dev.gitlive.firebase.auth.FirebaseAuth'. Check your Modules configuration and add missing type and/or qualifier!
How I’m using it:
Copy code
class AuthServiceImpl(
    private val auth: FirebaseAuth,
Any ideas how to solve this? P.S: My guess is it’s because of
expect
from the library.
2
Solved by injecting:
Copy code
import dev.gitlive.firebase.Firebase
import dev.gitlive.firebase.auth.auth
Copy code
single { Firebase.auth }
👍 1