Socket
Socket
Sign inDemoInstall

@reeq/react-native-pdf417

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @reeq/react-native-pdf417

React-Native library which allows you to generate a barcode in pdf417 format


Version published
Weekly downloads
183
decreased by-48.45%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-native-pdf417

React-Native library which allows you to generate a barcode in pdf417 format

Android pdf417 writer is based on zxing library https://github.com/zxing/zxing

Screenshots

iOS Android

Installation

npm install @reeq/react-native-pdf417

or

yarn add @reeq/react-native-pdf417

and

cd ios/
pod install

Usage

import { Barcode } from '@reeq/react-native-pdf417';

// ...

const { width: windowWidth } = useWindowDimensions();

<Barcode
  text="hello pdf417"
  style={{ height: windowWidth / 4, width: windowWidth }}
  onPress={() => {
    console.log('barcode pressed');
  }}
/>;

Props

most of the default View props and:

  • text: text string you want to convert into barcode. Required

  • onPress: on barcode press event. Not required

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Keywords

FAQs

Last updated on 10 Nov 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc