![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
bishosba_honeywell-barcode-reader
Advanced tools
A barcode reader for Honeywell handheld devices like Honeywell EDA52 (tested)
This package works with Honeywell devices that have an integrated barcode scanner, like the Honeywell EDA50K and EDA51 (tested).
This version fixed the event will fire twice.
This version is a fork from https://github.com/duytq94/react-native-honeywell-barcode-reader
npm i bishosba_honeywell-barcode-reader
react-native link bishosba_honeywell-barcode-reader
app\build.gradle
addimplementation project(':bishosba_honeywell-barcode-reader')
settings.gradle
addinclude ':bishosba_honeywell-barcode-reader'
project(':bishosba_honeywell-barcode-reader').projectDir = new File(rootProject.projectDir, '../node_modules/bishosba_honeywell-barcode-reader/android')
MainApplication.java
Add this line to import package
import com.duytq94.HoneywellBarcodeReader.HoneywellBarcodeReaderPackage;
and add this line to getPackages()
new HoneywellBarcodeReaderPackage()
First you'll want to check whether the device is a Honeywell scanner:
import HoneywellBarcodeReader from "bishosba_honeywell-barcode-reader";
HoneywellBarcodeReader.isCompatible; // true or false
The barcode reader needs to be "claimed" by your application; meanwhile no other application can use it. You can do that like this:
HoneywellBarcodeReader.startReader().then((claimed) => {
console.log(claimed ? "Barcode reader is claimed" : "Barcode reader is busy");
});
To get events from the barcode scanner:
HoneywellBarcodeReader.onBarcodeReadSuccess((event) => {
console.log("Received data", event);
});
HoneywellBarcodeReader.onBarcodeReadFail(() => {
console.log("Barcode read failed");
});
To free the claim and stop the reader, also freeing up resources:
HoneywellBarcodeReader.stopReader().then(() => {
console.log("Freedom!");
});
To stop receiving events:
HoneywellBarcodeReader.offBarcodeReadSuccess();
HoneywellBarcodeReader.offBarcodeReadFail();
FAQs
A barcode reader for Honeywell handheld devices like Honeywell EDA52 (tested)
We found that bishosba_honeywell-barcode-reader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.