Skip to content

Commit 276d77d

Browse files
committed
Update
1 parent 7c57724 commit 276d77d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/product-list/product-list.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class ProductListComponent {
5050
try {
5151
// Visit https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform to get a trial license for capture vision suite.
5252
let licenseKey: string = this.inputText === '' ? this.placeholderText : this.inputText;
53-
LicenseManager.initLicense(licenseKey);
53+
await LicenseManager.initLicense(licenseKey, { executeNow: true });
5454

5555
// DDV.Core.license = licenseKey;
5656
DDV.Core.engineResourcePath = getFullUrl('assets/dynamsoft-document-viewer/engine/');

0 commit comments

Comments
 (0)