Open rahulshah007 opened 6 years ago
+1 to this problem
I am running on debug mode on Android. On iOS, it auto scanned right away when qr code is present within the view. But this doesn't work on android. I can't get any qr code to scan on android. Any help is appreciated.
Thanks
I just had to upgrade to v1.0.3 from v1.0.1. That'll solve it
Update: I updated React Native camera from v1.0.1 to v1.0.3. Not the React Native qr scanner.
@JakeRawr How did you upgrade to V1.0.3? I'm facing this issue when i tried doing the same.
No matching version found for react-native-qrcode-scanner@1.0.3
@karthick-t2s Hey sorry for misleading you. I updated React Native camera from v1.0.1 to v1.0.3. Not react native qr scanner. I’ll update my solution as well. Hope that helps you.
@JakeRawr that's fine. I'm using react native camera V1.1.4 and the scanning takes too long and sometimes it won't scan at all.
I've found that running on the device works perfectly on both Android and iOS but running in the android emulator doesn't scan the QR code correctly.
Really no idea how to debug it, it simply reads nonsense from the qr code as presented.
What's happening?
When I try to scan qr code I m not able to read any qrcode any solution
How can it be reproduced?
` <QRCodeScanner onRead={this.onSuccess.bind(this)} topContent={
Build details?
OS ANDROID "react": "16.3.1", "react-native": "0.55.1", "react-native-camera": "^1.0.3", "react-native-qrcode-scanner": "^1.0.1"