Created
June 3, 2022 19:23
-
-
Save phpmaps/26bc40f0e63a6b9b752e555d8be55a8d to your computer and use it in GitHub Desktop.
IDScan
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await IncodeSdk.createOnboardingSession({ sessionConfig: { configurationId: "XXXXXX" } }); | |
setOnboardingStatus('starting_segment1'); | |
try { | |
const ret = await IncodeSdk.startOnboardingSection({ | |
config: [ | |
{ | |
module: 'IdScan', | |
showTutorial: false | |
}, | |
], | |
}); | |
console.log('ID segment done: ', ret); | |
} catch (e) { | |
console.log('ID segment failed: ', e); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment