Skip to content

Error during access email address after login #43

@OlehSalamakha

Description

@OlehSalamakha

After login
val result = Firebase.auth.signInWithEmailAndPassword("usermail", "password")
I'm trying to get the mail address from the result object
print("current user email ${result.user?.email}")
and here is an exception
FirebaseApp Device unlocked: initializing all Firebase APIs for app [DEFAULT] Exception in thread "DefaultDispatcher-worker-1" kotlin.NotImplementedError: An operation is not implemented. at com.google.firebase.auth.FirebaseUser.getEmail(FirebaseUser.kt:11) at dev.gitlive.firebase.auth.FirebaseUser.getEmail(user.kt:19) at com.peinlab.testwindows.ComposableSingletons$AppKt$lambda-3$1$1$1$1$1.invokeSuspend(App.kt:42) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@f7f0f80, Dispatchers.Default]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions