I just discovered this KMP wrapper around Firebase...
# multiplatform
c
I just discovered this KMP wrapper around Firebase and it seems super awesome, but I'm not really sure I understand how to initialize it. Do you just follow normal, platform specific guides for Firebase App initialization or can you initialize in the common layer? Is there some documentation for this that I am missing? https://github.com/gitliveapp/firebase-kotlin-sdk
r
Firebase.initialize
passing in
FirebaseOptions
.
Then, for example to get an instance of
FirebaseAuth
, you can do
Firebase.auth(app)
where
app
is the initialized value from above.
c
Awesome! Thank you!
120 Views