create-react-native-app: QR code won't scan
After creating an app and running yarn start the QR code gives no feedback when scanning on my iPhone.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 22 (4 by maintainers)
After creating an app and running yarn start the QR code gives no feedback when scanning on my iPhone.
Using a terminal worked great
Interesting! I suspect that the horizontal scaling isn’t the actual problem (I’ve seen it work well on much more squished consoles), but rather the contrast between the dark and light elements is. IntelliJ/Webstorm’s terminal appears to have interesting ideas about how to render bash color codes!
I’m not sure what we can do about this. It might be possible by changing the Webstorm color theme, the font, or by trying in a different terminal.
It is really funny, but all you need to do just switch your ide theme on light 😄
While it’s definitely possible from an implementation perspective, I’m not sure we want to add any more complexity to the startup scripts.
Generally if you want to share the app with someone they’ll need to be on the same LAN and I’m mostly thinking that it’s not unreasonable to expect them to be able to physically scan the phone.
Yeah I just tried that it loaded here’s the screenshot.
I experience this issue only when running in my IDE’s terminal. If I switch and use iterm2 or OSX default terminal it works fine. It appears to be an issue with “squishing” the QR image’s width.
Hm not sure why that’s happening. Can you upload a screenshot of the QR code? If you can’t get it working you can type the url in manually - just go to the Explore tab in Expo and then type the url in the search bar.