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

NotImplementedError in EmailAuthProvider.getCredential #582

Closed valeriyo closed 3 months ago

valeriyo commented 3 months ago

I'm getting on JVM/Desktop:

Exception in thread "AWT-EventQueue-0" kotlin.NotImplementedError: An operation is not implemented.
        at com.google.firebase.auth.EmailAuthProvider.getCredential(EmailAuthProvider.java:7)
        at dev.gitlive.firebase.auth.EmailAuthProvider.credential(credentials.kt:30)

having in build.gradle.kts:

    commonMain.dependencies {
      implementation(libs.gitlive.firebase.auth)
      ...

and in libs.versions.toml:

[versions]
gitlive = "1.13.0"

[libraries]
gitlive-firebase-auth = { module = "dev.gitlive:firebase-auth", version.ref = "gitlive" }

Any clue? Thanks

valeriyo commented 3 months ago

Aah... I have to use signInWithEmailAndPassword, because only very few methods are implemented:

https://github.com/GitLiveApp/firebase-java-sdk?tab=readme-ov-file#limitations