Skip to content

Commit

Permalink
fix agent mode in biometric kyc
Browse files Browse the repository at this point in the history
  • Loading branch information
ayinloya committed Aug 28, 2024
1 parent 9b94639 commit 17c380b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/embed/src/js/biometric-kyc.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ import { version as sdkVersion } from '../../package.json';

function setInitialScreen(partnerConstraints) {
const { country: selectedCountry, id_type: selectedIDType } = id_info;
SmartCameraWeb.setAttribute('allow-agent-mode', config.allow_agent_mode);

if (config.hide_attribution) {
SmartCameraWeb.setAttribute('hide-attribution', true);
Expand Down Expand Up @@ -190,6 +189,7 @@ import { version as sdkVersion } from '../../package.json';
}

function initializeSession(generalConstraints, partnerConstraints) {
SmartCameraWeb.setAttribute('allow-agent-mode', config.allow_agent_mode);
if (hasThemeColor()) {
SmartCameraWeb.setAttribute(
'theme-color',
Expand Down

0 comments on commit 17c380b

Please sign in to comment.