File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22// Lets put all the variables needed for all modules in the global scope
33const tokenServerURL = import . meta. env . VITE_TOKEN_SERVER_URL ;
44const localServerUrl = import . meta. env . VITE_LOCAL_SERVER_URL ;
5+
56let incode ;
67let session ;
78const container = document . getElementById ( "camera-container" ) ;
@@ -34,7 +35,8 @@ function renderRedirectToMobile(){
3435 finish ( ) ;
3536 } ,
3637 session : session ,
37- url : `${ localServerUrl } ?uuid=${ session . uuid } `
38+ url : `${ localServerUrl } ?uuid=${ session . uuid } ` ,
39+ // showSms: false, //uncomment if you want to remove the SMS feature
3840 } ) ;
3941 } else {
4042 renderUserConsent ( ) ;
@@ -103,8 +105,7 @@ async function app() {
103105 const clientId = import . meta. env . VITE_CLIENT_ID ;
104106 incode = window . OnBoarding . create ( {
105107 clientId : clientId ,
106- apiURL : apiURL ,
107- theme : { } ,
108+ apiURL : apiURL
108109 } ) ;
109110
110111 // Incode web_sdk need to preload some core component before being usable
You can’t perform that action at this time.
0 commit comments