Open leandrosouzaa opened 4 years ago
Same here..
Same here..
I tested on 3 different phones and it worked on just one.
Android 6.0.1 - not worked
Android 7.0 - not worked
Android 7.1 - worked
In my case I was scanning a very large QRCode, and in some phones it worked and in others not, when it decreases the QRCode size it worked in all
In my case, I entered the basic QRCode scanner code and reinstalled the app on the device. This made the application work normally, from time to time it would stop reading, I just had to reinstall the application to get everything back to normal.
I am using the react-native-camera
version 3.8.0 and everything is working.
const { height, width } = Dimensions.get('window');
<Camera
style={{ height: height, width: width }}
onBarCodeRead={(e) => console.log(e.data)}
androidCameraPermissionOptions={null}
pendingAuthorizationView={<My View behind the dialog that is asking for permission />}
notAuthorizedView={<My View that shows that user declined permission />}
>
</Camera>
Update QRCodeScanner like this :
<QRCodeScanner
flashMode={Camera.Constants.FlashMode.off}
onRead={(e) => this.onSuccess(e)}
topContent={
}
/>
Is there something actionable from here that needs to be updated in the library or it's examples?
Is there something actionable from here that needs to be updated in the library or it's examples?
Only examples
I am using the
react-native-camera
version 3.8.0 and everything is working.const { height, width } = Dimensions.get('window'); <Camera style={{ height: height, width: width }} onBarCodeRead={(e) => console.log(e.data)} androidCameraPermissionOptions={null} pendingAuthorizationView={<My View behind the dialog that is asking for permission />} notAuthorizedView={<My View that shows that user declined permission />} > </Camera>
Not worked for me 😕
What's happening?
I'm starting with this library. I copied exactly the code that is made available from the documentation however when executing it I have no answer. Not even the vibration produced by reading Qrcode is performed
How can it be reproduced?