Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/auth/demo/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,11 @@
<input type="text" class="form-control" id="ibi" placeholder="iOS Bundle ID"/>
</div>
</form>
<div class="group">Mobile link</div>
<div class="form-group">
<input type="text" class="form-control" id="hostingLinkDomain"
placeholder="Custom Hosting Link Domain"/>
</div>
<form class="form form-bordered no-submit">
<div class="btn-group radio-block" id="handle-in-app-selection"
data-toggle="buttons">
Expand Down
7 changes: 6 additions & 1 deletion packages/auth/demo/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ import {
signInWithCredential,
signInWithCustomToken,
signInWithEmailAndPassword,
signInWithEmailLink,
TotpMultiFactorGenerator,
TotpSecret,
unlink,
updateEmail,
updatePassword,
Expand Down Expand Up @@ -995,6 +995,7 @@ function getActionCodeSettings() {
const installApp = $('input[name=install-app]:checked').val() === 'Yes';
const handleCodeInApp =
$('input[name=handle-in-app]:checked').val() === 'Yes';
const hostingLinkDomain = $('#hostingLinkDomain').val();
if (url || apn || ibi) {
actionCodeSettings['url'] = url;
if (apn) {
Expand All @@ -1010,6 +1011,9 @@ function getActionCodeSettings() {
};
}
actionCodeSettings['handleCodeInApp'] = handleCodeInApp;
if (hostingLinkDomain) {
actionCodeSettings['linkDomain'] = hostingLinkDomain;
}
}
return actionCodeSettings;
}
Expand All @@ -1020,6 +1024,7 @@ function onActionCodeSettingsReset() {
$('#apn').val('');
$('#amv').val('');
$('#ibi').val('');
$('#hostingLinkDomain').val('');
}

/**
Expand Down
Loading