We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39fa9dd commit aca7600Copy full SHA for aca7600
1 file changed
packages/firebase-auth/index.android.ts
@@ -640,7 +640,7 @@ function ensureClass() {
640
}
641
642
@NativeClass
643
- class OnVerificationStateChangedCallbacksImpl extends OnVerificationStateChangedCallbacks {
+ class OnVerificationStateChangedCallbacksImpl extends com.google.firebase.auth.PhoneAuthProvider.OnVerificationStateChangedCallbacks {
644
_resolve;
645
_reject;
646
@@ -651,11 +651,8 @@ function ensureClass() {
651
return global.__native(this);
652
653
654
- onVerificationFailed(error: any) {
655
- this._reject({
656
- message: error.getMessage(),
657
- native: error,
658
- });
+ onVerificationFailed(error) {
+ this._reject(FirebaseError.fromNative(error));
659
660
661
onVerificationCompleted(credential: com.google.firebase.auth.PhoneAuthCredential) {
0 commit comments