Hey! For a new project I’m evaluating if using Fl...
# multiplatform
m
Hey! For a new project I’m evaluating if using Flutter or Kotlin Multiplatform. Our backend is
Firebase Authentication
+
Firebase Firestore
(DB). For KMP there is this GitLive Firebase SDK. Can someone tell me their experience in production with this SDK? Is it stable on iOS and Android? Does the Auth and Firestore work reliably? Thx in advance 👍🏽 👍🏽
a
It wraps official platform Firebase SDK under the hood so it is stable enough
p
write interface { save} impment it on android and ios
m
@Alexander Zhirkevich So it’s not adding own logic that could lead to issues? Have you hears reviews from people using it? @pers what do you mean exactly? How it works or how one would write it themselves?
j
Following, also curious. However, it seems they updated to no longer use admin-sdk for jvm, if I recall correctly. That's promising. Hopefully the firebase team goes multiplatform some day 🤞 You could wrap the iOS and Android solutions in your own interface, I believe is what was meant by @pers
p
I remember trying it before and it works well for Android and iOS, JS and desktop recall some issues. For iOS it needs cocoapods, it was one of the reasons why I ended up not using it. The project for which I wanted to use this library needs the web target, and I found it was quicker and more reliable just define a common interface and expect/actual per platform. But I would say, for Android and iOS targets only and if you don't care about using cocoapods. It is a good option.
v
I'm using several libraries in production from GitLiveApp (Authentication, Realtime Database, Firestore, Functions, Remote Config, Crashlytics) for iOS and Android targets only, and so far so good. I haven't tried on other targets though.
👍 2
m
Thanks for all your feedback! I understand that for me the best approach would be to implement the Firebase auth and Firestore connection via expect/actual, so I don’t need to depend on GitLive’s future support
💯 1