1.4.0 • Published 7 months ago

@react-native-ml-kit/barcode-scanning v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@react-native-ml-kit/barcode-scanning

React Native On-Device Barcode Scanning w/ Google ML Kit

Getting started

npm install @react-native-ml-kit/barcode-scanning --save

Linking

React Native > 0.59

CLI autolink feature links the module while building the app.

React Native <= 0.59

react-native link @react-native-ml-kit/barcode-scanning

Installing Pods

On iOS, use CocoaPods to add the native RNMLKitBarcodeScanning to your project:

npx pod-install

Usage

import BarcodeScanning from '@react-native-ml-kit/barcode-scanning';

const barcodes = await BarcodeScanning.scan(imageURL);
for (let barcode of barcodes) {
  console.log(barcode.value, barcode.format);
}
1.4.0

7 months ago

1.3.0

8 months ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago