Open entaku0818 opened 5 years ago
What errors are you running into when trying this? Phone auth is currently experiencing some issues.
Thank you for the response. This error message is below.
Error Domain=FIRAuthErrorDomain Code=17025 "This credential is already associated with a different user account." UserInfo={FIRAuthUpdatedCredentialKey=<FIRPhoneAuthCredential: 0x283d25470>, NSLocalizedDescription=This credential is already associated with a different user account., error_name=ERROR_CREDENTIAL_ALREADY_IN_USE}
Error Domain=FIRAuthErrorDomain Code=17051 "The SMS code has expired. Please re-send the verification code to try again." UserInfo={NSLocalizedDescription=The SMS code has expired. Please re-send the verification code to try again., error_name=ERROR_SESSION_EXPIRED}
Looks like you're running into two errors.
I know.
I wanted to make the following logic
When that phone number was using "sign in", if it was not using "signup."
I guess it's hard I think it would be good for the user input to "sms code" again when that phone number was using.
Thank you your help.
I know.
I wanted to make the following logic
When that phone number was using "sign in", if it was not using "signup."
I guess it's hard I think it would be good for the user input to "sms code" again when that phone number was using.
Thank you your help.
ran into the smae issue today ,
any updates?
Expected Results:
Relevant Code:
I think get
Expected Results
by the code below. However, I have aExpected Result 1
only. Why?Reference
https://firebase.google.com/docs/auth/ios/account-linking