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() {
640640  } 
641641
642642  @NativeClass 
643-   class  OnVerificationStateChangedCallbacksImpl  extends  OnVerificationStateChangedCallbacks  { 
643+   class  OnVerificationStateChangedCallbacksImpl  extends  com . google . firebase . auth . PhoneAuthProvider . OnVerificationStateChangedCallbacks  { 
644644    _resolve ; 
645645    _reject ; 
646646
@@ -651,11 +651,8 @@ function ensureClass() {
651651      return  global . __native ( this ) ; 
652652    } 
653653
654-     onVerificationFailed ( error : any )  { 
655-       this . _reject ( { 
656-         message : error . getMessage ( ) , 
657-         native : error , 
658-       } ) ; 
654+     onVerificationFailed ( error )  { 
655+       this . _reject ( FirebaseError . fromNative ( error ) ) ; 
659656    } 
660657
661658    onVerificationCompleted ( credential : com . google . firebase . auth . PhoneAuthCredential )  { 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments