Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

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


Version published
Weekly downloads
906
decreased by-1.84%
Maintainers
0
Weekly downloads
 
Created
Source

@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);
}

Keywords

FAQs

Package last updated on 14 Jul 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc