Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.31 KB

File metadata and controls

41 lines (29 loc) · 1.31 KB
layout default-layout
title License Activation - Dynamsoft Barcode Reader Flutter Edition
description Initialize the license of Dynamsoft Barcode Reader Flutter edition.
keywords license initialization, licensing
needAutoGenerateSidebar true

License Initialization

Get a trial license

You can request a 30-day trial license via the Request a Trial License{:target="_blank"} link.

You can contact our support team via the Contacting Us{:target="_blank"} link when your license generation failed.

Get a Full License

Contact us{:target="_blank"} to purchase a full license.

Set the License In the Code

For BarcodeScanner

var config = BarcodeScannerConfig(license: "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", scanningMode: scanningMode);
BarcodeScanResult barcodeScanResult = await BarcodeScanner.launch(config);

For Foundational Barcode Reader

The following shows how to set the license in the code.

LicenseManager.initLicense('DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9').then((data) {
  final (isSuccess, message) = data;
  if (!isSuccess) {
    print("license error: $message");
  }
});