# react-native-infrared-develon

> Bridge to use the Honeywell scanner

Latest version **1.1.3** (published 2021-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-infrared-develon
pnpm add react-native-infrared-develon
yarn add react-native-infrared-develon
bun add react-native-infrared-develon
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2021-12-17 |
| First published | 2021-12-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 121.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | develon |
| Maintainers | develondigital |
| Keywords | react-native, honeywell |

## Links

- npm: https://www.npmjs.com/package/react-native-infrared-develon
- npm.io page: https://npm.io/package/react-native-infrared-develon

## Recent versions

- 1.1.3 (latest) — 2021-12-17
- 1.1.2 — 2021-12-17
- 1.1.1 — 2021-12-17
- 1.1.0 — 2021-12-17
- 1.0.9 — 2021-12-17
- 1.0.8 — 2021-12-17
- 1.0.7 — 2021-12-17
- 1.0.6 — 2021-12-14
- 1.0.3 — 2021-12-13
- 1.0.2 — 2021-12-13
- 1.0.1 — 2021-12-13
- 1.0.0 — 2021-12-13

## README

# react-native-infrared-develon

This module is fork of react-native-honeywell-scanner.

## Getting started

`$ npm install react-native-infrared-develon --save`

## Usage

```javascript
import DevelonInfrared from 'react-native-infrared-develon';

...

useEffect(() => {
        if( DevelonInfrared.isCompatible ) {
            DevelonInfrared.startReader().then((claimed) => {
                console.log(claimed ? 'Barcode reader is claimed' : 'Barcode reader is busy');
                DevelonInfrared.onBarcodeReadSuccess(event => {
                    console.log('Received data', event.data);
                });

            });


            return(
                () => {
                    DevelonInfrared.stopReader().then(() => {
                        console.log("Freedom!!");
                        DevelonInfrared.offBarcodeReadSuccess();
                    });
                }
            )
        }
    }, []);
```

---
_Source: https://npm.io/package/react-native-infrared-develon · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
