ideacreation / react-native-barcodescanner

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

Tap to focus #43

Open ThaJay opened 8 years ago

ThaJay commented 8 years ago

Is it possible to get native tap to focus with this? If not currently possible, how would I go about implementing it? I see https://github.com/lwansbrough/react-native-camera supports it, but i'd rather use one camera using component at the same time instead of implementing both.

andreaskeller commented 8 years ago

@ThaJay what use case have you in mind?

ThaJay commented 8 years ago

My testers told me they had trouble getting the barcode in focus sometimes. I think it also has to do with holding the camera too close to the barcode in some cases, so it doesn't have the highest priority.

eddiefletchernz commented 7 years ago

Same problem here, the scanner will not focus on close-up barcodes, requiring us to hold items far away from the camera. When the barcodes are small, it becomes almost impossible to scan correctly. This is a pretty high priority issue for us as all items have small barcodes.

walkertong commented 7 years ago

Same problem too, our barcode size is 20cm* 20cm, it hard to focus when phone is too close to the code.