Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-modern-qrscanner

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-modern-qrscanner

A modern-designed and powerful QR code scanner for React Native with advanced features.

  • 1.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
45
increased by95.65%
Maintainers
1
Weekly downloads
 
Created
Source

React Native Modern QR Scanner

npm version npm downloads Coverage Status code style: prettier

A powerful and customizable QR code scanner component for React Native applications.

Features

  • Advanced QR code scanning capabilities using React Native Camera.
  • Customizable scanning viewfinder and overlay.
  • Supports both iOS and Android platforms.
  • Provides hooks for various QR code scanning events.

Demo

toast gif

Installation

x

npm install react-native-modern-qrscanner

or

yarn add react-native-modern-qrscanner

Usage

Import ModernQRScanner and use it in your React Native application.

import { ModernQRScanner } from 'react-native-modern-qrscanner';

// Example usage
<ModernQRScanner
  onRead={(e) => console.log('QR code detected:', e)}
  // other props
/>

Props

  • onRead: Callback function invoked when a QR code is detected.
  • renderTopView: Custom render function for the top overlay view.
  • renderBottomView: Custom render function for the bottom overlay view.
  • rectHeight, rectWidth: Dimensions for the scanning area.
  • flashMode: Enable or disable the camera flash.
  • finderX, finderY: Position offsets for the scanning viewfinder.
  • ...and more.

Customization

You can customize the scanner viewfinder, overlay styles, and more using the available props.

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome. Please read the contributing guide for more details.

Keywords

FAQs

Package last updated on 30 Jan 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