Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during access email address after login #43

Open
OlehSalamakha opened this issue Jan 18, 2025 · 0 comments
Open

Error during access email address after login #43

OlehSalamakha opened this issue Jan 18, 2025 · 0 comments

Comments

@OlehSalamakha
Copy link

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant