Skip to content

ptzagk/react-native-qrcode-scanner-1

 
 

Repository files navigation

react-native-qrcode-scanner

A react native QR code scanner based on expo library written in TypeScript.

Install npm dependencies

yarn

Run on expo client

expo start

Configure for iOS

Add NSCameraUsageDescription key to your Info.plist:

<key>NSCameraUsageDescription</key>
<string>Allow $(PRODUCT_NAME) to use the camera</string>

Run npx pod-install after installing the npm package.

Configure for Android

This package automatically adds the CAMERA permission to your app. If you want to record videos with audio, you have to include the RECORD_AUDIO.

<!-- Added permissions -->
<uses-permission android:name="android.permission.CAMERA" />

<!-- Optional permissions -->
<uses-permission android:name="android.permission.RECORD_AUDIO" />

About

A react native QR code scanner with expo camera

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 48.8%
  • Java 28.6%
  • Objective-C 12.7%
  • Starlark 5.7%
  • JavaScript 2.3%
  • Ruby 1.9%