GitLiveApp / firebase-kotlin-sdk

A Kotlin-first SDK for Firebase
https://gitliveapp.github.io/firebase-kotlin-sdk/
Apache License 2.0
1.17k stars 155 forks source link

Issue firebase init #579

Open the-best-is-best opened 3 months ago

the-best-is-best commented 3 months ago

How to make init firebase in compose multiplatform

lhalegria commented 2 months ago

I'm facing the same problem

dogeweb commented 2 months ago

See https://github.com/GitLiveApp/firebase-kotlin-sdk/issues/396#issuecomment-1708852016

lhalegria commented 2 months ago

in my case I'm getting a java.lang.NoClassDefFoundError: Failed resolution of: Ldev/gitlive/firebase/Firebase; when calling Firebase.initialize(this)

Reedyuk commented 4 weeks ago

Here is an example using a jetbrains example + gitlive implementation.

https://github.com/Reedyuk/KMP-Compose-Firebase-App-Template

Has init on both ios and android

the-best-is-best commented 3 weeks ago

Why this package is very bad in init firebase are u see how impl it in flutter or any another sdk , or not?

Reedyuk commented 3 weeks ago

Why this package is very bad in init firebase are u see how impl it in flutter or any another sdk , or not?

This 'package' is a wrapper, any complications are with firebase itself.

Flutter only has to support one platform, kmm has to support many and with different init methods for each platform