Is there anyone who has a tutorial or code how to read a qr code in React Native cli that actually works in the current React Native version? I tried so many tutorials and docs and nothing works. It would be nice if it works in tsx.
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
3
Answers
Use the react-native-qrcode-scanner package in React Native to scan QR codes. Here is an illustration of how you may employ it:
The best solution is to use https://github.com/mrousavy/react-native-vision-camera because it uses JSI and frame processor for this camera based on ML Kit
https://github.com/rodgomesc/vision-camera-code-scanner