File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 823
823
< input type ="text " class ="form-control " id ="ibi " placeholder ="iOS Bundle ID "/>
824
824
</ div >
825
825
</ 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 >
826
831
< form class ="form form-bordered no-submit ">
827
832
< div class ="btn-group radio-block " id ="handle-in-app-selection "
828
833
data-toggle ="buttons ">
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ import {
49
49
signInWithCredential ,
50
50
signInWithCustomToken ,
51
51
signInWithEmailAndPassword ,
52
+ signInWithEmailLink ,
52
53
TotpMultiFactorGenerator ,
53
- TotpSecret ,
54
54
unlink ,
55
55
updateEmail ,
56
56
updatePassword ,
@@ -995,6 +995,7 @@ function getActionCodeSettings() {
995
995
const installApp = $ ( 'input[name=install-app]:checked' ) . val ( ) === 'Yes' ;
996
996
const handleCodeInApp =
997
997
$ ( 'input[name=handle-in-app]:checked' ) . val ( ) === 'Yes' ;
998
+ const hostingLinkDomain = $ ( '#hostingLinkDomain' ) . val ( ) ;
998
999
if ( url || apn || ibi ) {
999
1000
actionCodeSettings [ 'url' ] = url ;
1000
1001
if ( apn ) {
@@ -1010,6 +1011,9 @@ function getActionCodeSettings() {
1010
1011
} ;
1011
1012
}
1012
1013
actionCodeSettings [ 'handleCodeInApp' ] = handleCodeInApp ;
1014
+ if ( hostingLinkDomain ) {
1015
+ actionCodeSettings [ 'linkDomain' ] = hostingLinkDomain ;
1016
+ }
1013
1017
}
1014
1018
return actionCodeSettings ;
1015
1019
}
@@ -1020,6 +1024,7 @@ function onActionCodeSettingsReset() {
1020
1024
$ ( '#apn' ) . val ( '' ) ;
1021
1025
$ ( '#amv' ) . val ( '' ) ;
1022
1026
$ ( '#ibi' ) . val ( '' ) ;
1027
+ $ ( '#hostingLinkDomain' ) . val ( '' ) ;
1023
1028
}
1024
1029
1025
1030
/**
You can’t perform that action at this time.
0 commit comments