@@ -75,9 +75,6 @@ private let kAndroidMinimumVersionKey = "androidMinimumVersion"
75
75
/// or not.
76
76
private let kCanHandleCodeInAppKey = " canHandleCodeInApp "
77
77
78
- /// The key for the "dynamic link domain" value in the request.
79
- private let kDynamicLinkDomainKey = " dynamicLinkDomain "
80
-
81
78
/// The key for the "link domain" value in the request.
82
79
private let kLinkDomainKey = " linkDomain "
83
80
@@ -105,12 +102,6 @@ private let kClientType = "clientType"
105
102
/// The key for the "recaptchaVersion" value in the request.
106
103
private let kRecaptchaVersion = " recaptchaVersion "
107
104
108
- protocol SuppressWarning {
109
- var dynamicLinkDomain : String ? { get set }
110
- }
111
-
112
- extension ActionCodeSettings : SuppressWarning { }
113
-
114
105
@available ( iOS 13 , tvOS 13 , macOS 10 . 15 , macCatalyst 13 , watchOS 7 , * )
115
106
class GetOOBConfirmationCodeRequest : IdentityToolkitRequest , AuthRPCRequest {
116
107
typealias Response = GetOOBConfirmationCodeResponse
@@ -146,9 +137,6 @@ class GetOOBConfirmationCodeRequest: IdentityToolkitRequest, AuthRPCRequest {
146
137
/// redirected from a Firebase owned web widget.
147
138
let handleCodeInApp : Bool
148
139
149
- /// The Firebase Dynamic Link domain used for out of band code flow.
150
- private let dynamicLinkDomain : String ?
151
-
152
140
/// The Firebase Hosting domain used for out of band code flow.
153
141
private( set) var linkDomain : String ?
154
142
@@ -183,12 +171,6 @@ class GetOOBConfirmationCodeRequest: IdentityToolkitRequest, AuthRPCRequest {
183
171
androidMinimumVersion = actionCodeSettings? . androidMinimumVersion
184
172
androidInstallApp = actionCodeSettings? . androidInstallIfNotAvailable ?? false
185
173
handleCodeInApp = actionCodeSettings? . handleCodeInApp ?? false
186
- dynamicLinkDomain =
187
- if let actionCodeSettings {
188
- ( actionCodeSettings as SuppressWarning ) . dynamicLinkDomain
189
- } else {
190
- nil
191
- }
192
174
linkDomain = actionCodeSettings? . linkDomain
193
175
194
176
super. init (
@@ -289,9 +271,6 @@ class GetOOBConfirmationCodeRequest: IdentityToolkitRequest, AuthRPCRequest {
289
271
if handleCodeInApp {
290
272
body [ kCanHandleCodeInAppKey] = true
291
273
}
292
- if let dynamicLinkDomain {
293
- body [ kDynamicLinkDomainKey] = dynamicLinkDomain
294
- }
295
274
if let linkDomain {
296
275
body [ kLinkDomainKey] = linkDomain
297
276
}
0 commit comments