Link up
Last updated
Last updated
You must register the Web > Root Domain in the Data Source item on the Service Management/Service Information page of
ex) https://console.dfinery.io -> dfinery.io registration
Supported browsers are as follows:
IE (Internet Explorer) is not supported.
Install and initialize the SDK by adding the code below.
The parameters mean:
SERVICE_KEY
: Service key issued from DFINERY console
The initialization script must be run after the installation script.
The parameters mean:
initOptions
: SDK Settings Dictionary
shareSubdomainCookie
boolean
true
Whether to use cookies shared with subdomains
X
logEnable
boolean
true
Whether to enable logging
X
logLevel
DFLogLevel
DFLogLevel.Error
X
DFConfig.LOG_ENABLE
logEnable
Whether to enable logging
DFConfig.LOG_LEVEL
logLevel
Log level
DFConfig.SHARE_SUBDOMAIN_COOKIE
shareSubdomainCookie
Whether to use cookies shared with subdomains
DFLogLevel.ERROR
1
Show error log only
DFLogLevel.WARN
2
Show Warn, Error log
DFLogLevel.INFO
3
Display Error, Warn, Info logs
SDK installation and initialization is complete.
To check if the SDK is installed properly, enter the window. DFINERY in the developer mode console window of the browser to check if the object has been created. If it is not undefined, it is normal.
Use