ideacreation / react-native-barcodescanner

A barcode scanner component for react native - not maintained anymore - use react-native-camera
MIT License
537 stars 162 forks source link

Start/Stop Scanner #18

Open JpEncausse opened 8 years ago

JpEncausse commented 8 years ago

Hi,

How can I start / stop the scanner on motion:

It seems start / stop methods are not exposed in React Code ?

ThaJay commented 8 years ago

subscribing. I would like this too

After (or as) I unmount my view, the scanner keeps scanning but I already have the data and have acted upon it. So now it acts again and tries to validate again. Which fails because it just happened on the first scan and a bool was flipped.

this issues forum seems kind of dead tho which is a shame because react-native-camera has no ZXing for android