AuthFlow
?confirmScreenProps
AuthFlow.ConfirmScreen
will be passed down to it, except onCodeVerified
. If you want to use that prop, pass it directly to AuthFlow
.phoneScreenProps
AuthFlow.PhoneScreen
will be passed down to it, except onSmsSuccessfullySent
onUserSuccessfullySignedIn
. AuthFlow
as seen in the example code below.onSmsSuccessfullySent
phoneNumber
field.onCodeVerified
token
field.onUserSuccessfullySignedIn
onCodeVerified
, since there is a network request made between the successful code and signing in with firebase.user
field. user
could be null
, so check for that.AuthFlow.PhoneScreen
and AuthFlow.ConfirmScreen
, instead of using AuthFlow
.