File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 823823 < input type ="text " class ="form-control " id ="ibi " placeholder ="iOS Bundle ID "/>
824824 </ div >
825825 </ form >
826+ < div class ="group "> Mobile link</ div >
827+ < div class ="form-group ">
828+ < input type ="text " class ="form-control " id ="hostingLinkDomain "
829+ placeholder ="Custom Hosting Link Domain "/>
830+ </ div >
826831 < form class ="form form-bordered no-submit ">
827832 < div class ="btn-group radio-block " id ="handle-in-app-selection "
828833 data-toggle ="buttons ">
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ import {
4949 signInWithCredential ,
5050 signInWithCustomToken ,
5151 signInWithEmailAndPassword ,
52+ signInWithEmailLink ,
5253 TotpMultiFactorGenerator ,
53- TotpSecret ,
5454 unlink ,
5555 updateEmail ,
5656 updatePassword ,
@@ -995,6 +995,7 @@ function getActionCodeSettings() {
995995 const installApp = $ ( 'input[name=install-app]:checked' ) . val ( ) === 'Yes' ;
996996 const handleCodeInApp =
997997 $ ( 'input[name=handle-in-app]:checked' ) . val ( ) === 'Yes' ;
998+ const hostingLinkDomain = $ ( '#hostingLinkDomain' ) . val ( ) ;
998999 if ( url || apn || ibi ) {
9991000 actionCodeSettings [ 'url' ] = url ;
10001001 if ( apn ) {
@@ -1010,6 +1011,9 @@ function getActionCodeSettings() {
10101011 } ;
10111012 }
10121013 actionCodeSettings [ 'handleCodeInApp' ] = handleCodeInApp ;
1014+ if ( hostingLinkDomain ) {
1015+ actionCodeSettings [ 'linkDomain' ] = hostingLinkDomain ;
1016+ }
10131017 }
10141018 return actionCodeSettings ;
10151019}
@@ -1020,6 +1024,7 @@ function onActionCodeSettingsReset() {
10201024 $ ( '#apn' ) . val ( '' ) ;
10211025 $ ( '#amv' ) . val ( '' ) ;
10221026 $ ( '#ibi' ) . val ( '' ) ;
1027+ $ ( '#hostingLinkDomain' ) . val ( '' ) ;
10231028}
10241029
10251030/**
You can’t perform that action at this time.
0 commit comments