You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?
For issues or feature requests related to the code in this repository file a GitHub issue.
For general technical questions, post a question on StackOverflow tagged appropriately.
For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel
Step 2: Describe your environment
Android device: motorola one vision_
Android OS version: _10
Google Play Services version: _4.3.4
Firebase/Play Services SDK version: 19.0.0_
FirebaseUI version: 6.4.0
Step 3: Describe the problem:
Since I upgraded to com.google.firebase:firebase-auth:20.0.1, my app crashes when users try to register/login using their phone numbers
Steps to reproduce:
Create a sign in intent builder with phone provider_
Choose phone number_
_App crashes when phone number selected
Observed Results:
What happened? This could be a description, logcat output, etc.
Fatal Exception: java.lang.NoSuchMethodError
No virtual method verifyPhoneNumber(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/Executor;Lcom/google/firebase/auth/PhoneAuthProvider$OnVerificationStateChangedCallbacks;Lcom/google/firebase/auth/PhoneAuthProvider$ForceResendingToken;)V in class Lcom/google/firebase/auth/PhoneAuthProvider; or its super classes (declaration of 'com.google.firebase.auth.PhoneAuthProvider' appears in base.apk!classes2.dex)
com.firebase.ui.auth.ui.phone.PhoneNumberVerificationHandler.verifyPhoneNumber (PhoneNumberVerificationHandler.java:32)
com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment.onNext (CheckPhoneNumberFragment.java:164)
com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment.start (CheckPhoneNumberFragment.java:155)
com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment.access$100 (CheckPhoneNumberFragment.java:37)
com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment$2.onSuccess (CheckPhoneNumberFragment.java:113)
com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment$2.onSuccess (CheckPhoneNumberFragment.java:110)
com.firebase.ui.auth.viewmodel.ResourceObserver.onChanged (ResourceObserver.java:69)
com.firebase.ui.auth.viewmodel.ResourceObserver.onChanged (ResourceObserver.java:19)
Expected Results:
What did you expect to happen?
I expected to get a text message with a verification number.
Relevant Code:
startActivityForResult(
AuthUI.getInstance().createSignInIntentBuilder()
.setAvailableProviders(phoneProvider)
.setTheme(R.style.BlankTheme)
.build(),REQUEST_SIGN_IN
);
// TODO(you): code here to reproduce the problem
The text was updated successfully, but these errors were encountered:
@colorgold FirebaseUI 6.4.0 is only compatible with firebase-auth versions 19.x and below. If you want to use firebase-auth 20.x you need to upgrade to FirebaseUI 7.0.0 or higher.
The main breaking changes in firebase-auth 20.0.0 were around phone auth, that's why you see this crash.
@colorgold FirebaseUI 6.4.0 is only compatible with firebase-auth versions 19.x and below. If you want to use firebase-auth 20.x you need to upgrade to FirebaseUI 7.0.0 or higher.
The main breaking changes in firebase-auth 20.0.0 were around phone auth, that's why you see this crash.
I forgot to check for FirebaseUI update and was only upgrading the auth and database. Thank you.
Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?
Step 2: Describe your environment
Step 3: Describe the problem:
Since I upgraded to
com.google.firebase:firebase-auth:20.0.1
, my app crashes when users try to register/login using their phone numbersSteps to reproduce:
Observed Results:
logcat
output, etc.Expected Results:
I expected to get a text message with a verification number.
Relevant Code:
The text was updated successfully, but these errors were encountered: