File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -640,7 +640,7 @@ function ensureClass() {
640
640
}
641
641
642
642
@NativeClass
643
- class OnVerificationStateChangedCallbacksImpl extends OnVerificationStateChangedCallbacks {
643
+ class OnVerificationStateChangedCallbacksImpl extends com . google . firebase . auth . PhoneAuthProvider . OnVerificationStateChangedCallbacks {
644
644
_resolve ;
645
645
_reject ;
646
646
@@ -651,11 +651,8 @@ function ensureClass() {
651
651
return global . __native ( this ) ;
652
652
}
653
653
654
- onVerificationFailed ( error : any ) {
655
- this . _reject ( {
656
- message : error . getMessage ( ) ,
657
- native : error ,
658
- } ) ;
654
+ onVerificationFailed ( error ) {
655
+ this . _reject ( FirebaseError . fromNative ( error ) ) ;
659
656
}
660
657
661
658
onVerificationCompleted ( credential : com . google . firebase . auth . PhoneAuthCredential ) {
You can’t perform that action at this time.
0 commit comments