Authentication problem... #247
Unanswered
DimitrisKatsamagos
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, im new in KMM and im trying to use your library for a project more specifically the part of authentication with firebase...
So i got lets say a companion obj like this
`companion object{
val app: FirebaseApp by lazy{
Firebase.initialize(
FirebaseOptions(
apiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
applicationId = "xxxxxxxxxxxxxxxxxxxxxxxxxx",
storageBucket = "xxxxxxxxxxxxxxxxxxxxxxxxxx",
projectId = "xxxxxxxxxxxxxxxx"
)
)!!
}
val auth: FirebaseAuth by lazy {
Firebase.auth(app)
}
}
val auth: FirebaseAuth by lazy {
Firebase.auth(app)
}
}`
and then i try smth like this from
viewScope.launch {
but it doesnt work and im stuck... any ideas of what is going on? I cant find any tutorials or github projects as examples,
thus if you got anything at all, every source is welcome...
Beta Was this translation helpful? Give feedback.
All reactions