You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a `BarcodeScanner` object within a function which may be called more than once, it's best to use a "helper" variable to avoid double creation such as `pScanner` in the following code
* The creation of an object consists of two parallel tasks: one is to download and compile the "engine", the other is to fetch a license from Dynamsoft License Server (assuming an online license is used).
@@ -333,9 +345,8 @@ The built-in UI of the `BarcodeScanner` object is defined in the file `dist/dbr.
@@ -383,15 +394,12 @@ See also [UI customization samples](https://www.dynamsoft.com/barcode-reader/pro
383
394
384
395
Interested to test it further? Read on to learn how to request a 30-day free trial.
385
396
386
-
## Requesting A Trial
387
-
388
-
From version 8.2.5 of the library, if no license is specified, a [7-day free license](https://www.dynamsoft.com/license-server/docs/about/terms.html?ver=latest#public-trial-license?utm_source=github) will be used by default.
397
+
## Requesting a Trial
389
398
390
-
> Network connection is required for the 7-day free licenseto work.
399
+
You can request a 30-day free trial via the [customer portal](https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js). Or you can [contact our support team](https://www.dynamsoft.com/company/contact/?utm_source=github) to get a free trial license.
391
400
392
-
After that, if you want to evaluate the library further, you can [register for a Dynamsoft account](https://www.dynamsoft.com/api-common/Regist/Regist?utm_source=github) (if you haven't already done so) and request a 30-day trial in the [customer portal](https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js).
401
+
Since v8.2.5, a 7-day free license is used by default if no license specified. Network connection is required for the default license to work.
393
402
394
-
* If you like, you can also [contact our support team](https://www.dynamsoft.com/company/contact/?utm_source=github) to get a trial license.
395
403
396
404
## System Requirements
397
405
@@ -416,7 +424,7 @@ The following table is a list of supported browsers based on the above requireme
416
424
417
425
<sup>1</sup> iOS 14.3+ is required for camera video streaming in Chrome and Firefox or Apps using webviews.
418
426
419
-
<sup>2</sup> On Edge, due to strict Same-origin policy, you must host the library files on the same domain as your web page.
427
+
<sup>2</sup> On legacy Edge (v16 ~ v78), due to strict Same-origin policy, you must host the library files on the same domain as your web page.
420
428
421
429
<sup>3</sup> Safari 11.2.2 ~ 11.2.6 are not supported.
422
430
@@ -429,7 +437,7 @@ Apart from the browsers, the operating systems may impose some limitations of th
429
437
Once you have downloaded the library, you can locate the "dist" directory and copy it to your server (usually as part of your website / web application). The following shows some of the files in this directory:
430
438
431
439
* `dbr.js` // The main library file
432
-
* `dbr.browser.mjs` // For using the library as a module (`<scripttype="module">`)
440
+
* `dbr.mjs` // For using the library as a module (`<scripttype="module">`)
433
441
* `dbr.scanner.html` // Defines the default scanner UI
434
442
* `dbr-<version>.worker.js` // Defines the worker thread for barcode reading
435
443
* `dbr-<version>.wasm.js` // Compact edition of the library (.js)
@@ -445,9 +453,9 @@ Once you have downloaded the library, you can locate the "dist" directory and co
445
453
446
454
Different types of webservers are configured differently, for example:
0 commit comments