
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
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 2 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.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.