You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
The text was updated successfully, but these errors were encountered:
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]
The text was updated successfully, but these errors were encountered: