Skip to content

Commit 0275447

Browse files
committed
Revert availability changes
1 parent 4f29af1 commit 0275447

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

FirebaseAuth/Sources/Swift/Utilities/AuthRecaptchaVerifier.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import Foundation
2222
import RecaptchaInterop
2323
#endif // os(iOS)
2424

25-
@available(iOS 13, *)
25+
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
2626
class AuthRecaptchaConfig {
2727
var siteKey: String?
2828
let enablementStatus: [AuthRecaptchaProvider: AuthRecaptchaEnablementStatus]
@@ -34,7 +34,7 @@ class AuthRecaptchaConfig {
3434
}
3535
}
3636

37-
@available(iOS 13, *)
37+
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
3838
enum AuthRecaptchaEnablementStatus: String, CaseIterable {
3939
case enforce = "ENFORCE"
4040
case audit = "AUDIT"
@@ -44,7 +44,7 @@ enum AuthRecaptchaEnablementStatus: String, CaseIterable {
4444
var stringValue: String { rawValue }
4545
}
4646

47-
@available(iOS 13, *)
47+
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
4848
enum AuthRecaptchaProvider: String, CaseIterable {
4949
case password = "EMAIL_PASSWORD_PROVIDER"
5050
case phone = "PHONE_PROVIDER"
@@ -53,7 +53,7 @@ enum AuthRecaptchaProvider: String, CaseIterable {
5353
var stringValue: String { rawValue }
5454
}
5555

56-
@available(iOS 13, *)
56+
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
5757
enum AuthRecaptchaAction: String {
5858
case defaultAction
5959
case signInWithPassword
@@ -67,7 +67,7 @@ enum AuthRecaptchaAction: String {
6767
var stringValue: String { rawValue }
6868
}
6969

70-
@available(iOS 13, *)
70+
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
7171
class AuthRecaptchaVerifier {
7272
private let recaptchaVersion = "RECAPTCHA_ENTERPRISE"
7373
weak var auth: Auth?

0 commit comments

Comments
 (0)