The frame processor plugin for scanning barcodes using Google ML Kit library for react-native-vision-camera with high performance.
react-native-vision-camera => 3.9.0
react-native-worklets-core = 0.4.0
npm install react-native-vision-camera-v3-barcode-scanner
yarn add react-native-vision-camera-v3-barcode-scanner
Easy To Use.
Works Just Writing few lines of Code.
Works With React Native Vision Camera.
Works for Both Cameras.
Works Fast.
Works With Android 🤖 and IOS.📱
Writen With Kotlin and Objective-C.
import { Camera } from 'react-native-vision-camera-v3-barcode-scanner';
const [barcodes,setBarcodes] = useState(null)
console.log(barcodes)
<Camera
options={{
codeType: "all",
}}
style={StyleSheet.absoluteFill}
device={device}
callback={(data) => setBarcodes(data)}
{...props}
/>
Name | Type | Values | Default |
---|---|---|---|
codeType | String | all, code-39, code-93, codabar, ean-13, ean-8, itf, upc-e, upc-a, qr, pdf-417, aztec, data-matrix, code-128 | all |