React-native-barcode-zxing-scan 1.0.2 On Npm
Có thể bạn quan tâm
react-native-barcode-zxing-scan
The zxing module scanning barcodes in android.
This module abstracts the library zxing-android-embedded, developed by JourneyApps.
Barcode formats:
- CODE 128
- UPC A
- UPC E
- EAN 8
- EAN 13
- RSS 14
- CODE 39
- CODE 93
- ITF
- RSS EXPANDED
- QR CODE
- DATA MATRIX
- PDF 417
Getting started
$ npm install react-native-barcode-zxing-scan --save
Mostly automatic installation
$ react-native link react-native-barcode-zxing-scan
Manual installation
Android Update rn to 0.60.* and use autolink
Usage
App.js
import React from "react"; import { Text, View, TouchableOpacity } from "react-native"; import BarcodeZxingScan from "react-native-barcode-zxing-scan"; const App = () => { const barcodeScanned = (data) => { console.log("Barcode ", data); }; const handleClick = () => { BarcodeZxingScan.showQrReader(barcodeScanned); }; return ( <View> <TouchableOpacity onPress={() => handleClick()} style={{ margin: 20, backgroundColor: "blue", justifyContent: "center", alignItems: "center", }} > <Text style={{ fontSize: 30 }}>SCAN</Text> </TouchableOpacity> </View> ); }; export default App;Từ khóa » Npm Zxing
-
@zxing/library - Npm
-
@zxing/ngx-scanner - Npm
-
@zxing/browser - Npm
-
Zxing - Npm
-
Ngx-zxing-multicode - Npm
-
Zxing
-
@zxing/library - Npm Package Health Analysis | Snyk
-
Zxing/library/ - UNPKG
-
@zxing/browser | Yarn - Package Manager
-
ZXing TypeScript | Demo & Examples - GitHub Pages
-
Nativescript-zxing-compat
-
Zxing-typescript CDN By JsDelivr - A CDN For Npm And GitHub
-
RunKit + Npm: @zxing/library
-
@zxing/ngx-scanner Versions And Peer Dependencies