-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CrossFirebaseAuth.Current.PhoneAuthProvider.VerifyPhoneNumberAsync is always passing back VerificationId of null. #29
Comments
I had the same problem. When upgrading the Xamarin.Firebase.Auth library from version 119.3.1 to |
Hi, @ashlar64 Did you find a solution ?? I removed the error by updating the version, as I said in my previous comment, but when making the release version I get an error from the linker ... |
I have a similar issue wherein I use an Android device's own phone number to log in and I found posts talking about Android "instant verification" and SMS "auto-retrieval", but I am unclear on when or why they would happen:
I tried to reduce timeout as per https://stackoverflow.com/questions/60208151/firebase-not-sending-verification-code-to-phone-the-second-time and deactivate "auto-retrieval" by setting timeout to 0 as per https://firebase.google.com/docs/reference/android/com/google/firebase/auth/PhoneAuthProvider#parameters_1 to no avail. Uninstalling app and restarting device as per https://stackoverflow.com/questions/48536142/firebase-not-sending-otp also fixes nothing. NOTE: The phone number is not whitelisted as a test number in Firebase settings in order to test real usage, so I am trying not to log in too often to prevent Firebase blocking the number. Test numbers can log in often but always come back with a I saw a similar React plugin issue where the verification id is also null but that plugin's return object also says state is "Verified": invertase/react-native-firebase#2895 My usage is currently:
I am wondering...
|
FYI I have several different apps which use the same login system. Rebooting the device seemed to usually help me. So no I really haven't found a solution. |
In case it helps anyone else following this issue, as I commented on my similar issue (#36), I got null My usage is now:
|
Hello,
I was doing some testing with two real phones. I logged into my app on phone A with phone B's phone number.
Now this line of code
var verificationResult = await CrossFirebaseAuth.Current.PhoneAuthProvider.VerifyPhoneNumberAsync(CrossFirebaseAuth.Current.Instance, mobileNumber);
is always returning verificationResult.VerificationId as null when I used phone B's phone number on phone B. This was working fine before I did what I said above. I can still log into the app on phone A with phone A's phone number.
I actually deleted the Firebase account in the Firebase console for the phone number of phone B and this is still happening.
Any idea on what is going on? Is there anyway to reset this?
The text was updated successfully, but these errors were encountered: