question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android Debug Mode: Can't read QR code

See original GitHub issue

On android and while on debug mode, qr codes will not be recognized so the onRead function will not be triggered.

What’s happening?

Sometimes the package on android debug mode works perfectly, sometimes it does not scan any qr code at all.

How can it be reproduced?

  1. Start react native project (No expo)
  2. Add react-native-qrcode-scanner to a view
  3. Go to https://en.wikipedia.org/wiki/QR_code
  4. Attempt to scan the code

Build details?

OS: Android Package version: 1.1.0

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
Vancliefcommented, Jan 26, 2019

Edit: Clarified it happens on debug mode

5reactions
glevymayocommented, Jan 26, 2019

Same to me. It works only the first time I launch the app. I’m using Genymotion.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Not Scanning a QR Code: 7 Ways to Troubleshoot
7 ways to troubleshoot if your Android device is not scanning a QR code · Center the QR code on the screen ·...
Read more >
Android, How to read QR code in my application?
8 Answers 8 · Create a android studio empty project · Add library in app.gradle · In MainActivity you can use bellow code...
Read more >
Unable to scan QR Code - signalapp/Signal-Android · GitHub
Bug description Unable to scan the QR code provided in the Desktop App. The QR code is clearly visibly inside the Signal App...
Read more >
How do you pair a Device for Wireless Debugging with a QR ...
Open the following menu on your phone: Settings > Developer options > Wireless debugging . Enable the feature and then click on Pair...
Read more >
How to Scan QR Codes with Android Phone
If QR Codes isn't an option in your settings, your device unfortunately can't scan QR Codes natively. But don't worry, this only means...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found