Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion FirebaseAuth/Sources/Swift/Utilities/AuthErrorUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ class AuthErrorUtils {
}

static func invalidDynamicLinkDomainError(message: String?) -> Error {
error(code: .invalidDynamicLinkDomain, message: message)
// Use raw value to avoid deprecation warning.
error(code: AuthErrorCode(rawValue: 17074)!, message: message)
}

static func invalidHostingLinkDomainError(message: String?) -> Error {
Expand Down
2 changes: 2 additions & 0 deletions FirebaseAuth/Sources/Swift/Utilities/AuthErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ import Foundation
case nullUser = 17067

/// Indicates that a Firebase Dynamic Link is not activated.
@available(*, deprecated)
case dynamicLinkNotActivated = 17068

/// Represents the error code for when the given provider id for a web operation is invalid.
Expand All @@ -256,6 +257,7 @@ import Foundation

/// Indicates that the Firebase Dynamic Link domain used is either not configured or is
/// unauthorized for the current project.
@available(*, deprecated)
case invalidDynamicLinkDomain = 17074

/// Indicates that the provided Firebase Hosting Link domain is not owned by the current project.
Expand Down
Loading