Description
Several instances of NSLog have been recently introduced in FirebaseAuth. These should be converted to FIRLogger so customers can filter the log messages as they like.
Reproducing the issue
FirebaseAuth/Sources/MultiFactor/TOTP/FIRTOTPSecret.m: NSLog(@"Cannot access openURL:options:completionHandler: method");
FirebaseAuth/Sources/MultiFactor/TOTP/FIRTOTPSecret.m: NSLog(@"URL cannot be opened");
FirebaseAuth/Sources/MultiFactor/TOTP/FIRTOTPSecret.m: NSLog(@"sharedApplication cannot be accessed");
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA verification faled because reCAPTCHA SDK "
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA verification faled because reCAPTCHA SDK "
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA verification succeeded.");
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA config retrieval failed.");
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA config retrieval succeeded.");
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA token retrieval succeeded.");
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA token retrieval failed. NO_RECAPTCHA sent as the fake code.");
Firebase SDK Version
10.16.0
Xcode Version
14.3
Installation Method
N/A
Firebase Product(s)
Authentication
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
Description
Several instances of
NSLoghave been recently introduced in FirebaseAuth. These should be converted to FIRLogger so customers can filter the log messages as they like.Reproducing the issue
FirebaseAuth/Sources/MultiFactor/TOTP/FIRTOTPSecret.m: NSLog(@"Cannot access openURL:options:completionHandler: method");
FirebaseAuth/Sources/MultiFactor/TOTP/FIRTOTPSecret.m: NSLog(@"URL cannot be opened");
FirebaseAuth/Sources/MultiFactor/TOTP/FIRTOTPSecret.m: NSLog(@"sharedApplication cannot be accessed");
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA verification faled because reCAPTCHA SDK "
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA verification faled because reCAPTCHA SDK "
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA verification succeeded.");
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA config retrieval failed.");
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA config retrieval succeeded.");
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA token retrieval succeeded.");
FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m: NSLog(@"reCAPTCHA token retrieval failed. NO_RECAPTCHA sent as the fake code.");
Firebase SDK Version
10.16.0
Xcode Version
14.3
Installation Method
N/A
Firebase Product(s)
Authentication
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolvedsnippetReplace this line with the contents of your Package.resolved.If using CocoaPods, the project's Podfile.lock
Expand
Podfile.locksnippetReplace this line with the contents of your Podfile.lock!