@@ -26,13 +26,14 @@ export interface ActionCodeSettings
2626| [dynamicLinkDomain ](./ auth .actioncodesettings .md #actioncodesettingsdynamiclinkdomain ) | string | When multiple custom dynamic link domains are defined for a project , specify which one to use when the link is to be opened via a specified mobile app (for example , <code >example .page .link < / code > ). |
2727| [handleCodeInApp ](./ auth .actioncodesettings .md #actioncodesettingshandlecodeinapp ) | boolean | When set to true , the action code link will be be sent as a Universal Link or Android App Link and will be opened by the app if installed . |
2828| [iOS ](./ auth .actioncodesettings .md #actioncodesettingsios ) | { bundleId : string ; } | Sets the iOS bundle ID . |
29+ | [linkDomain ](./ auth .actioncodesettings .md #actioncodesettingslinkdomain ) | string | The optional custom Firebase Hosting domain to use when the link is to be opened via a specified mobile app . The domain must be configured in Firebase Hosting and owned by the project . This cannot be a default Hosting domain (<code >web .app < / code > or < code > firebaseapp .com < / code > ). |
2930| [url ](./ auth .actioncodesettings .md #actioncodesettingsurl ) | string | Sets the link continue / state URL . |
3031
3132## ActionCodeSettings .android
3233
3334Sets the Android package name .
3435
35- This will try to open the link in an android app if it is installed . If ` installApp ` is passed , it specifies whether to install the Android app if the device supports it and the app is not already installed . If this field is provided without a ` packageName ` < ! -- -- > , an error is thrown explaining that the ` packageName ` must be provided in conjunction with this field . If ` minimumVersion ` is specified , and an older version of the app is installed , the user is taken to the Play Store to upgrade the app .
36+ This will try to open the link in an Android app if it is installed .
3637
3738<b >Signature :</b >
3839
@@ -46,6 +47,11 @@ android?: {
4647
4748## ActionCodeSettings .dynamicLinkDomain
4849
50+ > Warning : This API is now obsolete .
51+ >
52+ > Firebase Dynamic Links is deprecated and will be shut down as early as August 2025. Instead , use [ActionCodeSettings .linkDomain ](./ auth .actioncodesettings .md #actioncodesettingslinkdomain ) to set a custom domain for mobile links . Learn more in the [Dynamic Links deprecation FAQ ](https :// firebase.google.com/support/dynamic-links-faq)<!-- -->.
53+ >
54+
4955When multiple custom dynamic link domains are defined for a project , specify which one to use when the link is to be opened via a specified mobile app (for example , ` example.page.link ` < ! -- -- > ).
5056
5157<b >Signature :</b >
@@ -72,8 +78,6 @@ Sets the iOS bundle ID.
7278
7379This will try to open the link in an iOS app if it is installed .
7480
75- App installation is not supported for iOS .
76-
7781<b >Signature :</b >
7882
7983` ` ` typescript
@@ -82,11 +86,21 @@ iOS?: {
8286 };
8387` ` `
8488
89+ ## ActionCodeSettings .linkDomain
90+
91+ The optional custom Firebase Hosting domain to use when the link is to be opened via a specified mobile app . The domain must be configured in Firebase Hosting and owned by the project . This cannot be a default Hosting domain (` web.app ` or ` firebaseapp.com ` < ! -- -- > ).
92+
93+ <b >Signature :</b >
94+
95+ ` ` ` typescript
96+ linkDomain?: string;
97+ ` ` `
98+
8599## ActionCodeSettings .url
86100
87101Sets the link continue / state URL .
88102
89- This has different meanings in different contexts : - When the link is handled in the web action widgets , this is the deep link in the ` continueUrl ` query parameter . - When the link is handled in the app directly , this is the ` continueUrl ` query parameter in the deep link of the Dynamic Link .
103+ This has different meanings in different contexts : - When the link is handled in the web action widgets , this is the deep link in the ` continueUrl ` query parameter . - When the link is handled in the app directly , this is the ` continueUrl ` query parameter in the deep link of the Dynamic Link or Hosting link .
90104
91105<b >Signature :</b >
92106
0 commit comments