firebase-kotlin-sdk icon indicating copy to clipboard operation
firebase-kotlin-sdk copied to clipboard

Issue firebase init

Open the-best-is-best opened this issue 1 year ago • 6 comments
trafficstars

How to make init firebase in compose multiplatform

the-best-is-best avatar Aug 01 '24 08:08 the-best-is-best

I'm facing the same problem

lhalegria avatar Aug 23 '24 18:08 lhalegria

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

dogeweb avatar Aug 23 '24 21:08 dogeweb

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

lhalegria avatar Aug 26 '24 13:08 lhalegria

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

Reedyuk avatar Oct 17 '24 19:10 Reedyuk

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

the-best-is-best avatar Oct 26 '24 13:10 the-best-is-best

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

Reedyuk avatar Oct 26 '24 13:10 Reedyuk