Init SDK
initialization
Initialize the SDK and returns the initialization result to the caller.
Params
debug
â optionalboolean
print debug log optionfetchConfig
â optionalboolean
Allows querying for updated device version information over the network, used for prompting device updates and informing which version is needed for older hardware to use new features.connectSrc
â optionalstring
theurl
of theiframe
page, when using the@onekeyfe/hd-web-sdk
package, needs to be passed in the path of theiframe
in order to establish the connection.env
â optional'web' | 'react-native' | 'lowlevel'
the environment to use the SDK
Example
Last updated