-
-
Couldn't load subscription status.
- Fork 180
Closed
Description
When checking if a user is email verified using Firebase auth the app crashes with the following message:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FIRUser emailVerified]: unrecognized selector sent to instance 0x600002c16800'
The setup is pretty simple. With a logged in user I execute this piece of code:
Napier.e("About to crash")
Firebase.auth.currentUser?.let {
Napier.e("Did get current User")
val mailVerified = it.isEmailVerified
Napier.e("Unreachable on iOS | mailVerified: $mailVerified")
}
on iOS it leads to a crash; on Android it doesn't. I didn't test any other platforms yet. This crash only came up, after upgrading gitlive firebase auth from version 1.12.0 to 2.1.0
v1tzor, izadiegizabal and shtolik
Metadata
Metadata
Assignees
Labels
No labels