Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.11 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.11 KB

Barcode Scanner using React Native Camera

This is a simple barcode scanner application made using React Native CLI with React Native Camera

Installation

If you want to run this code on your side then follow these steps:

  1. Download or pull this repository using Git
  2. Open terminal and navigate inside the project folder
  3. Create a file named local.properties inside android directory
  4. Create a file named local.properties inside android directory
  5. Put the this line in that file. Make sure sdk path is correctly mentioned as per your system: sdk.dir= /home/{username}/Android/Sdk
  6. Rerun yarn android
  7. Run this command yarn
  8. Run this command cd ios && pod install && cd - (Only applicable for Mac users)
  9. Run this command yarn android to run the application on Android device or emulator OR this command yarn ios to run the application on Simulator.
  10. Run this command yarn start for the first time, it starts a metro bundler in parallel.

If you are find any difficulty in installation, you can contact me. If you want help in any other issue of react native or want more codes then you can let me know on my email.