@@ -578,7 +578,9 @@ - (void)invalidate {
578578                                                     @" has expired or is not currently supported."  ,
579579                                      }];
580580  }
581-   DLog (@" using app SignInWithCredential: %@ "  , firebaseApp.name )[[FIRAuth authWithApp: firebaseApp]
581+   DLog (@" using app SignInWithCredential: %@ "  , firebaseApp.name );
582+ 
583+   [[FIRAuth authWithApp: firebaseApp]
582584      signInWithCredential: credential
583585                completion: ^(FIRAuthDataResult *authResult, NSError  *error) {
584586                  if  (error) {
@@ -820,8 +822,9 @@ - (void)invalidate {
820822                  : (NSString  *)phoneNumber
821823                  : (RCTPromiseResolveBlock)resolve
822824                  : (RCTPromiseRejectBlock)reject) {
823-   DLog (@" SignInWthPhoneNumber instance: %@ "  ,
824-        firebaseApp.name )[[FIRPhoneAuthProvider providerWithAuth: [FIRAuth authWithApp: firebaseApp]]
825+   DLog (@" SignInWthPhoneNumber instance: %@ "  , firebaseApp.name );
826+ 
827+   [[FIRPhoneAuthProvider providerWithAuth: [FIRAuth authWithApp: firebaseApp]]
825828      verifyPhoneNumber: phoneNumber
826829             UIDelegate: nil 
827830             completion: ^(NSString  *_Nullable verificationID, NSError  *_Nullable error) {
@@ -862,8 +865,9 @@ - (void)invalidate {
862865                                      }];
863866    return ;
864867  }
865-   DLog (@" using instance verifyPhoneNumberWithMultiFactorInfo: %@ "  ,
866-        firebaseApp.name )[[FIRPhoneAuthProvider providerWithAuth: [FIRAuth authWithApp: firebaseApp]]
868+   DLog (@" using instance verifyPhoneNumberWithMultiFactorInfo: %@ "  , firebaseApp.name );
869+ 
870+   [[FIRPhoneAuthProvider providerWithAuth: [FIRAuth authWithApp: firebaseApp]]
867871      verifyPhoneNumberWithMultiFactorInfo: hint
868872                                UIDelegate: nil 
869873                        multiFactorSession: session
@@ -907,12 +911,15 @@ - (void)invalidate {
907911                  : (NSString  *)verificationCode
908912                  : (RCTPromiseResolveBlock)resolve
909913                  : (RCTPromiseRejectBlock)reject) {
910-   DLog (@" using instance resolve MultiFactorSignIn: %@ "  , firebaseApp.name )
911-       FIRPhoneAuthCredential *credential =
912-           [[FIRPhoneAuthProvider providerWithAuth: [FIRAuth authWithApp: firebaseApp]]
913-               credentialWithVerificationID: verificationId
914-                           verificationCode: verificationCode];
915-   DLog (@" credential: %@ "  , credential) FIRMultiFactorAssertion *assertion =
914+   DLog (@" using instance resolve MultiFactorSignIn: %@ "  , firebaseApp.name );
915+ 
916+   FIRPhoneAuthCredential *credential =
917+       [[FIRPhoneAuthProvider providerWithAuth: [FIRAuth authWithApp: firebaseApp]]
918+           credentialWithVerificationID: verificationId
919+                       verificationCode: verificationCode];
920+   DLog (@" credential: %@ "  , credential);
921+ 
922+   FIRMultiFactorAssertion *assertion =
916923      [FIRPhoneMultiFactorGenerator assertionWithCredential: credential];
917924
918925  [cachedResolver[sessionKey] resolveSignInWithAssertion: assertion
@@ -955,11 +962,12 @@ - (void)invalidate {
955962                  : (NSString  *_Nullable)displayName
956963                  : (RCTPromiseResolveBlock)resolve
957964                  : (RCTPromiseRejectBlock)reject) {
958-   DLog (@" using instance finalizeMultifactorEnrollment: %@ "  , firebaseApp.name )
959-       FIRPhoneAuthCredential *credential =
960-           [[FIRPhoneAuthProvider providerWithAuth: [FIRAuth authWithApp: firebaseApp]]
961-               credentialWithVerificationID: verificationId
962-                           verificationCode: verificationCode];
965+   DLog (@" using instance finalizeMultifactorEnrollment: %@ "  , firebaseApp.name );
966+ 
967+   FIRPhoneAuthCredential *credential =
968+       [[FIRPhoneAuthProvider providerWithAuth: [FIRAuth authWithApp: firebaseApp]]
969+           credentialWithVerificationID: verificationId
970+                       verificationCode: verificationCode];
963971  FIRMultiFactorAssertion *assertion =
964972      [FIRPhoneMultiFactorGenerator assertionWithCredential: credential];
965973  FIRUser *user = [FIRAuth authWithApp: firebaseApp].currentUser ;
@@ -980,8 +988,9 @@ - (void)invalidate {
980988                  : (FIRApp *)firebaseApp
981989                  : (NSString  *)phoneNumber
982990                  : (NSString  *)requestKey) {
983-   DLog (@" using instance verifyPhoneNumber: %@ "  ,
984-        firebaseApp.name )[[FIRPhoneAuthProvider providerWithAuth: [FIRAuth authWithApp: firebaseApp]]
991+   DLog (@" using instance verifyPhoneNumber: %@ "  , firebaseApp.name );
992+ 
993+   [[FIRPhoneAuthProvider providerWithAuth: [FIRAuth authWithApp: firebaseApp]]
985994      verifyPhoneNumber: phoneNumber
986995             UIDelegate: nil 
987996             completion: ^(NSString  *_Nullable verificationID, NSError  *_Nullable error) {
0 commit comments