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

[Jvm Target]: Exception in thread "AWT-EventQueue-0" kotlin.NotImplementedError: An operation is not implemented. at com.google.firebase.auth.FirebaseUser.getDisplayName(FirebaseUser.kt:12)

Open sunildhiman90 opened this issue 11 months ago • 1 comments
trafficstars

Hi, while using signInWithEmailAndPassword in FirebaseAuth for desktop, we are getting this exception while we are collecting authStateChanged flow and try to access displayName.

Exception in thread "AWT-EventQueue-0" kotlin.NotImplementedError: An operation is not implemented.
	at com.google.firebase.auth.FirebaseUser.getDisplayName(FirebaseUser.kt:12)

Can we instead return null values so that it will not throw exception in this case. Also Its throwing same error at email field as well. But if user is logging in with email, then correct email should be returned i guess.

sunildhiman90 avatar Dec 20 '24 07:12 sunildhiman90