vision-camera-barcode-scanner
High performance barcode scanner for React Native using VisionCamera
File Explorer
Download Latest Version (.zip)- demo.gif
- logo.png
- main.yml
- FUNDING.yml
- BarcodeConverter.java
- BarcodeFormatMapper.java
- CodeScannerProcessorPlugin.java
- VisionCameraCodeScannerModule.java
- VisionCameraCodeScannerPackage.java
- AndroidManifest.xml
- build.gradle
- gradle.properties
- settings.gradle
- config
- App.test.tsx
- AndroidManifest.xml
- MainActivity.kt
- MainApplication.kt
- rn_edit_text_material.xml
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- strings.xml
- styles.xml
- AndroidManifest.xml
- build.gradle
- debug.keystore
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- build.gradle
- gradle.properties
- gradlew
- gradlew.bat
- settings.gradle
- Contents.json
- Contents.json
- AppDelegate.swift
- Info.plist
- LaunchScreen.storyboard
- PrivacyInfo.xcprivacy
- VisionCameraCodeScannerExample.xcscheme
- project.pbxproj
- contents.xcworkspacedata
- .xcode.env
- Podfile
- Podfile.lock
- BarcodeScannerHookExamplePage.tsx
- VisionCameraCodeScanner.tsx
- .eslintrc.js
- .gitignore
- .prettierrc.js
- .watchmanconfig
- app.json
- App.tsx
- babel.config.js
- Gemfile
- Gemfile.lock
- index.js
- jest.config.js
- metro.config.js
- package.json
- pnpm-lock.yaml
- README.md
- tsconfig.json
- project.pbxproj
- .clang-format
- CodeScannerProcessorPlugin.h
- CodeScannerProcessorPlugin.m
- VisionCameraCodeScanner.h
- VisionCameraCodeScanner.m
- BarcodeCamera.tsx
- CameraHighlights.tsx
- index.ts
- android.ts
- index.ts
- templates.ts
- index.ts
- useBarcodeScanner.ts
- useCameraPermission.ts
- useLatestSharedValue.ts
- android.ts
- common.ts
- index.ts
- ios.ts
- module.ts
- react-native-vision-camera.ts
- convert.ts
- geometry.ts
- highlights.ts
- index.ts
- types.ts
- index.ts
- module.ts
- .gitkeep
- .eslintrc
- .gitignore
- .prettierrc
- .release-it.json
- LICENSE
- package.json
- pnpm-lock.yaml
- README.md
- tsconfig.json
- VisionCameraCodeScanner.podspec
# Installation Guide
1. Get the code
git clone https://github.com/mgcrea/vision-camera-barcode-scanner
Downloads the entire project code from GitHub to your computer.
cd vision-camera-barcode-scanner
Moves into the project folder you just downloaded.
2. Gradle (Java/Kotlin)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd android
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
3. Node.js
EasyPrerequisites
npm install @mgcrea/vision-camera-barcode-scanner
Downloads and installs the libraries listed in package.json.
yarn add @mgcrea/vision-camera-barcode-scanner
Type this command into your terminal and run it.
pnpm add @mgcrea/vision-camera-barcode-scanner
Type this command into your terminal and run it.
npm install react-native-vision-camera react-native-worklets-core
Downloads and installs the libraries listed in package.json.
yarn add react-native-vision-camera react-native-worklets-core
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
