Hello guys, is google firebase available for compo...
# compose-ios
t
Hello guys, is google firebase available for compose multiplatform ?
i
As far as I know - not yet
1
l
There seem to be a work on that here: https://github.com/GitLiveApp/firebase-kotlin-sdk @Ivan Matkov do you think it is compatible?
i
I wasn't aware of this project, so cannot speak of it's readiness. However, compose itself is built on top of kotlin multiplatform, so libraries for kmm, should work just fine in your compose project
l
So in my understanding, if I call it from multiplatform layer, it should be fine right? But from what I see, it doesn’t seem to support sending events yet
i
if it's supported by library - sure. But again I cannot speak with sure here about a 3rd party library that I wasn't aware of 5 mins ago. Hope for your understanding
l
Yeah sorry if I came off as harsh. But thanks for letting me know 🙂
k
You can use firebase cocoapod on the ios side.
👌 1
👌 1
Id say it works. I've heard a lot that people use it fine
a
im using mentioned library .. and its just fine .. if you dont find the methods you want to use .. just make common methods .. this library also provides platform spesific reference in spesific platform
c
In this video they talk about using that library.

https://www.youtube.com/watch?v=YsQ-2lQYQ8M

i think they said that the gitliveapp repo just does a bunch of wiring to call platform specific versions of the dependency
so its using the "real" firebase dependencies, but gives you a single api to call it.
at least. thats what i remember while watching it like a few weeks ago. I could be wrong. maybe @Sebastian Aigner remembers better 😂