# rn-honeywell-scanner

> Bridge to use the Honeywell scanner

Latest version **1.1.2** (published 2023-12-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install rn-honeywell-scanner
pnpm add rn-honeywell-scanner
yarn add rn-honeywell-scanner
bun add rn-honeywell-scanner
```

## 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.2 |
| Published | 2023-12-14 |
| First published | 2022-10-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 120.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Imdad Ismail |
| Maintainers | imdad482 |
| Keywords | react-native, honeywell |

## Links

- npm: https://www.npmjs.com/package/rn-honeywell-scanner
- Repository: https://github.com/android-imdad/react-native-honeywell-scanner
- Homepage: https://github.com/android-imdad/react-native-honeywell-scanner#readme
- Issues: https://github.com/android-imdad/react-native-honeywell-scanner/issues
- npm.io page: https://npm.io/package/rn-honeywell-scanner

## Recent versions

- 1.1.2 (latest) — 2023-12-14
- 1.0.6 — 2022-12-12
- 1.0.5 — 2022-12-12
- 1.0.4 — 2022-12-12
- 1.0.3 — 2022-10-19
- 1.0.2 — 2022-10-19
- 1.0.1 — 2022-10-19
- 1.0.0 — 2022-10-19

## README

# rn-honeywell-scanner

This module is fork of react-native-honeywell-scanner-v2 with a fallback fix for IOS and just experimenting with my first react native package upload

## Getting started

`$ npm install rn-honeywell-scanner --save`

## Usage
```javascript
import HoneywellScanner from 'rn-honeywell-scanner';

...

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

            });


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

---
_Source: https://npm.io/package/rn-honeywell-scanner · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
