light-mode-image
Learn
Functions

initialize

Initialize the SDK.

Call this once before any other function. The SDK registers this app instance with the MATTR VII tenant named in platformConfiguration, so this call needs network access.

Signature

function initialize(
  options: InitializeOptions
): Promise<Result<void, InitializeError>>

Parameters

Prop

Type

Returns

Promise<Result<void, InitializeError>>

A Result containing void on success, or an InitializeError on failure.

Throws

InvalidParams if the provided arguments are missing or invalid.

MobileCredentialVerifierErrorType.SdkInitialized if the SDK is already initialized; call deinitialize() first.

How would you rate this page?

On this page