Skip to content

Commit 0523c4c

Browse files
authored
Update RNQuickFirebase.m
Update signInWithCredential method
1 parent e54f723 commit 0523c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNQuickFirebase.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ @implementation RNQuickFirebase
3838
rejecter:(RCTPromiseRejectBlock)reject) {
3939
FIRAuthCredential *credential = [[FIRPhoneAuthProvider provider] credentialWithVerificationID:self.verificationID
4040
verificationCode:otp];
41-
[[FIRAuth auth] signInAndRetrieveDataWithCredential:credential
41+
[[FIRAuth auth] signInWithCredential:credential
4242
completion:^(FIRAuthDataResult * _Nullable authResult, NSError * _Nullable error) {
4343
if (error) {
4444
reject(error.localizedDescription, error.localizedDescription, error);

0 commit comments

Comments
 (0)