@@ -258,6 +258,9 @@ import Foundation
258
258
/// unauthorized for the current project.
259
259
case invalidDynamicLinkDomain = 17074
260
260
261
+ /// Indicates that the provided Firebase Hosting Link domain is not owned by the current project.
262
+ case invalidHostingLinkDomain = 17214
263
+
261
264
/// Indicates that the credential is rejected because it's malformed or mismatching.
262
265
case rejectedCredential = 17075
263
266
@@ -468,6 +471,8 @@ import Foundation
468
471
return kErrorInvalidProviderID
469
472
case . invalidDynamicLinkDomain:
470
473
return kErrorInvalidDynamicLinkDomain
474
+ case . invalidHostingLinkDomain:
475
+ return kErrorInvalidHostingLinkDomain
471
476
case . webInternalError:
472
477
return kErrorWebInternalError
473
478
case . webSignInUserInteractionFailure:
@@ -661,6 +666,8 @@ import Foundation
661
666
return " ERROR_INVALID_PROVIDER_ID "
662
667
case . invalidDynamicLinkDomain:
663
668
return " ERROR_INVALID_DYNAMIC_LINK_DOMAIN "
669
+ case . invalidHostingLinkDomain:
670
+ return " ERROR_INVALID_HOSTING_LINK_DOMAIN "
664
671
case . webInternalError:
665
672
return " ERROR_WEB_INTERNAL_ERROR "
666
673
case . webSignInUserInteractionFailure:
@@ -905,6 +912,9 @@ private let kErrorInvalidProviderID =
905
912
private let kErrorInvalidDynamicLinkDomain =
906
913
" The Firebase Dynamic Link domain used is either not configured or is unauthorized for the current project. "
907
914
915
+ private let kErrorInvalidHostingLinkDomain =
916
+ " The provided hosting link domain is not configured in Firebase Hosting or is not owned by the current project. "
917
+
908
918
private let kErrorInternalError =
909
919
" An internal error has occurred, print and inspect the error details for more information. "
910
920
0 commit comments