An open API service indexing awesome lists of open source software.

https://github.com/reeq-dev/react-native-pdf417

React-Native library which allows you to generate a barcode in pdf417 format
https://github.com/reeq-dev/react-native-pdf417

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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

## Compatibility

- **v1.0.6** — compatible with both the old and the new React Native architectures
- **v2.0.0 and above** — compatible **only with the new architecture**

## Screenshots


iOS
Android

## Installation

```sh
npm install @reeq/react-native-pdf417
```

or

```sh
yarn add @reeq/react-native-pdf417
```

and

```sh
cd ios/
pod install
```

## Usage

```js
import { Pdf417View } from '@reeq/react-native-pdf417';
import { useWindowDimensions } from 'react-native';

const { width: windowWidth } = useWindowDimensions();

```

## Props

Supports most of the default `View` props and:

- `text` — text string you want to convert into a barcode (**required**)

## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)