1.1.3 • Published 3 years ago

react-native-infrared-develon v1.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

react-native-infrared-develon

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

Getting started

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

Usage

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();
                    });
                }
            )
        }
    }, []);
1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago