diff --git a/FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m b/FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m index 4c698cc54b7..91ff490fa87 100644 --- a/FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m +++ b/FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.m @@ -14,6 +14,8 @@ * limitations under the License. */ +#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST + #import "FirebaseAuth/Sources/Utilities/FIRAuthRecaptchaVerifier.h" #import "FirebaseAuth/Sources/Auth/FIRAuth_Internal.h" @@ -24,10 +26,8 @@ #import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRAuth.h" #import "FirebaseAuth/Sources/Utilities/FIRAuthErrorUtils.h" -#if TARGET_OS_IOS #import #import -#endif static const NSDictionary *providerToStringMap; static const NSDictionary *actionToStringMap; @@ -77,7 +77,6 @@ - (NSString *)siteKey { } } -#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST - (BOOL)enablementStatusForProvider:(FIRAuthRecaptchaProvider)provider { if (self.auth.tenantID == nil) { return [self->_agentConfig.enablementStatus[providerToStringMap[@(provider)]] boolValue]; @@ -248,6 +247,7 @@ - (void)injectRecaptchaFields:(FIRIdentityToolkitRequest *)re } }]; } -#endif @end + +#endif