Skip to content

fix: changed license for locate-an-item sample and updated links #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:

# The type of runner that the job will run on
runs-on: self-hosted
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@ <h3>Barcode Reader Samples</h3>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Read barcodes from camera and show result texts on the video." class="button title" href="use-case/show-result-texts-on-the-video.html">Show Result Texts on the Video</a><span id="icon042" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/show-result-texts-on-the-video.html" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Read the PDF417 barcode on a driver's
license (AAMVA compliant) and parse it." class="button title" href="use-case/read-a-drivers-license/index.html">Read a
Driver's License</a><span id="icon042" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/read-a-drivers-license.html" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Locate an item quickly by scanning barcodes." class="button title" href="use-case/locate-an-item-with-barcode/index.html">Find Item via Barcode</a><span id="icon042" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/locate-an-item-with-barcode/index.html" title="Check code on GitHub"></a>
</div>
</div>
<div class="file">Others</div>
<div class="children">
Expand Down
4 changes: 2 additions & 2 deletions use-case/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ The following sample demonstrates how to utilize the SDK to find an item using a

Additionally, this sample demonstrates how to utilize the SDK to fill out form fields, creating a custom UI with [Dynamsoft Camera Enhancer (DCE)](https://www.dynamsoft.com/camera-enhancer/docs/core/introduction/index.html), and using DCE to draw shapes/images on the CameraView to create indicators for each barcode that has been detected!

* <a target = "_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/use-case/read-a-drivers-license/index.html">Locate an item via Barcode - Demo (TO BE UPDATED)</a>
* <a target = "_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/read-a-drivers-license/index.html">RLocate an item via Barcode - Source Code (TO BE UPDATED)</a>
* <a target = "_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/use-case/locate-an-item-with-barcode/index.html">Locate an Item with Barcode - Demo</a>
* <a target = "_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/locate-an-item-with-barcode/index.html">Locate an Item with Barcode - Source Code</a>


## Support
Expand Down
6 changes: 2 additions & 4 deletions use-case/locate-an-item-with-barcode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
<!-- Container to retrieve user input -->
<div id="inputs-container">
<div style="border-bottom: 2px solid #fe8e14; padding: 0 2rem">
<h3 style="text-align: center">Locate an Item via Barcode</h3>
<h3 style="text-align: center">Locate an Item with Barcode</h3>
</div>
<div style="padding: 0 2rem">
<p>1. Enter or Scan the Item ID that you're seaching for:</p>
Expand Down Expand Up @@ -280,9 +280,7 @@ <h6 id="camera-switch-notification"></h6>
/** LICENSE ALERT - README
* To use the library, you need to first specify a license key using the API "initLicense()" as shown below.
*/
Dynamsoft.License.LicenseManager.initLicense(
"DLS2eyJoYW5kc2hha2VDb2RlIjoiMTAyODk0NDUwLVRYbFhaV0pRY205cSIsIm1haW5TZXJ2ZXJVUkwiOiJodHRwczovL21sdHMuZHluYW1zb2Z0LmNvbSIsIm9yZ2FuaXphdGlvbklEIjoiMTAyODk0NDUwIiwic3RhbmRieVNlcnZlclVSTCI6Imh0dHBzOi8vc2x0cy5keW5hbXNvZnQuY29tIiwiY2hlY2tDb2RlIjoxMDUxNjY0NjUyfQ=="
);
Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
/**
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.
* Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license.
Expand Down
Loading