-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ActionCodeSettings.linkDomain and deprecate ActionCodeSettings.dynamicLinkDomain #8738
base: main
Are you sure you want to change the base?
Conversation
* Add linkDomain field to ActionCodeSettings * Update API reports * Update error message for ERROR_INVALID_HOSTING_LINK_DOMAIN to include that default hosting domains cannot be used. * Use constants for test values --------- Co-authored-by: NhienLam <[email protected]>
* Implement Integration test for passwordless email sign-in via firebase-hosting links. * Add license to new test file created' did not match any files * Remove unwanted _
🦋 Changeset detectedLatest commit: cb98346 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Changeset File Check ✅
|
@@ -46,6 +47,11 @@ android?: { | |||
|
|||
## ActionCodeSettings.dynamicLinkDomain | |||
|
|||
> Warning: This API is now obsolete. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"obsolete" isn't a word that we use to describe launch cycle stages. Do you maybe mean "deprecated"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually autogenerated when I tagged the property with @deprecated
. Should I manually change it to Warning: This API is now deprecated
?
@@ -46,6 +47,11 @@ android?: { | |||
|
|||
## ActionCodeSettings.dynamicLinkDomain | |||
|
|||
> Warning: This API is now obsolete. | |||
> | |||
> Firebase Dynamic Links is deprecated. Migrate to use Firebase Hosting link and use `linkDomain` to set a custom domain instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like something is missing from this part of the sentence:
"... Firebase Hosting link..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what it's missing, could you elaborate? We're telling developers to migrate from Firebase Dynamic Links to Firebase Hosting link; and use the new linkDomain
field instead of the old dynamicLinkDomain
field to set a custom domain. Do you have any suggestions to improve the sentence?
@@ -513,8 +513,18 @@ export interface ActionCodeSettings { | |||
* | |||
* | |||
* @defaultValue The first domain is automatically selected. | |||
* | |||
* @deprecated Firebase Dynamic Links is deprecated. Migrate to use Firebase Hosting link and use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too... looks like something is missing in this description
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
@@ -0,0 +1,106 @@ | |||
/** | |||
* @license | |||
* Copyright 2023 Google LLC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright 2025.
@@ -513,8 +513,18 @@ export interface ActionCodeSettings { | |||
* | |||
* | |||
* @defaultValue The first domain is automatically selected. | |||
* | |||
* @deprecated Firebase Dynamic Links is deprecated. Migrate to use Firebase Hosting link and use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hsubox76 @DellaBitta Is this the correct way to mark an API as deprecated?
Using @deprecated
generates "Warning: This API is now obsolete" in the refdocs, as shown in this example. But,I agree with @rachelsaunders's comment that "obsolete" isn't the right word.
On the other hand, simply put "Deprecated." (no @ tag) will not make it stand out in the refdocs, as shown in this example, and developers probably won't see the deprecated warning during build time when using this API.
Firebase Auth relies on Firebase Dynamic Links (FDL) for mobile out-of-band email action flows. As FDL is deprecated, we're introducing a new solution, Firebase Hosting links, to replace FDL usage in Firebase Auth.
Add a new
ActionCodeSettings.linkDomain
property to customize the Firebase Hosting link domain that is used in out-of-band email action flows.Deprecate
ActionCodeSettings.dynamicLinkDomain
. Migrate to use Firebase Hosting link and useActionCodeSettings.linkDomain
to set a custom domain instead.Migration guide and public documentations will be available after the SDK release.