Skip to content

Initialization

To start the initialization process, you need to get the license file first. A demo license can be obtained at our Client Portal.

The initializeReader method is designed to perform the initialization process. It accepts an instance of the Config class as a configuration object.

The Config allows you to set the license and other configuration properties. The license is passed to the initializeReader as Base64.

The initialization is performed fully offline, although by default the SDK attempts to access the licensing server to keep your license updated. You can change this behavior by setting the licenseUpdate property to false in the Config instance.

Here is an example of how to perform initialization with the license stored in the application bundle:

DocumentReader.initializeReader({
    license: license
}).then(m => console.log("Initialized")).catch(error)

Next Steps