Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
bishosba_honeywell-barcode-reader
Advanced tools
A barcode reader for Honeywell handheld devices like Honeywell EDA50K (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)
The npm package bishosba_honeywell-barcode-reader receives a total of 17 weekly downloads. As such, bishosba_honeywell-barcode-reader popularity was classified as not popular.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.