React Native QR code scanner using expo-barcode-scanner
QR code is usually used as a url locator for applications such as mobile payment.In this post I will walk you through how to implement a mobile QR code scanner by using react native along with a cool expo library. This post will help you learn how to: How to implement a QR code scanner using React Native and TypeScript. How to limit the QR code detecting area. How to add a mask scanning area. How to debug react native app by using expo client. The code is written with Typescript and is available in Github: https://github.com/liqili/react-native-qrcode-scanner Before starting, you need to install Node.js development environment and Yarn package management tool. Then install expo client to your mobile phone from ios app store or google play store. Installing Expo CLI & Init Project Java 1 npm install -- global expo - cli 2 expo init react - native - qrcode - scanner 3 yarn install 4 expo eject //run this if you want to publish with bar...