Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
react-native-idata-scanner
Advanced tools
React native implementation of Android handheld PDA terminal based on iData 95w series
基于 iData 95w 系列 安卓手持 PDA 终端设备的 React Native 实现
$ npm install react-native-idata-scanner --save
$ react-native link react-native-idata-scanner
import IdataScanner from 'react-native-idata-scanner';
import {NativeEventEmitter} from 'react-native';
...
// 设置扫码选项(当PDA设备能通过广播进行设置的时候可用)
const rows = [{key: 'barcode_send_mode', value: 'BROADCAST'}];
IdataScanner.setBroadcastSetting('com.android.scanner.service_settings', rows);
// 广播和接收字段(接收的广播名和接收的字段名)
IdataScanner.getCode('android.intent.action.SCANRESULT', 'value');
const eventEmitter = new NativeEventEmitter();
const listener = eventEmitter.addListener('scannerCodeShow', ({code}) => {
console.log(`->code:${code}`)
});
FAQs
React native implementation of Android handheld PDA terminal based on iData 95w series
The npm package react-native-idata-scanner receives a total of 1 weekly downloads. As such, react-native-idata-scanner popularity was classified as not popular.
We found that react-native-idata-scanner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.