/barcode-scanner

React Native (Navigation, Barcode Scanner)

Primary LanguageJavaScript

Navigation

React Native (Navigation, Barcode Scanner)

WARNING

This project was built in expo, that means ios and android folder should not be touched. But, I am still learning react native and confusing so just follow this rules below.

  • npm install
  • expo eject

iOS

  • to run app in iOS ("cd ios", then "pod install") | go back "cd .."| npm run ios

Android


setting NOX Player as emulator

Mobile Emulator (NOX) (For this solution to work, you need to have NOX emulator with api >= 5) here are the steps to do that:

Open Multi-Drive, a software installed with NOX by default. It will be visible on desktop but if in case its not then locate the NOX installed folder (most probably: ProgramFiles (x86)/NOX/bin) and you can find it there. Delete the default NOX emulator. At the bottom you will have a button, click that and download emulator 5. With in the Multi-drive, take the backup of the emulator in case this doesn't work for you after downloading. Enable USB debugging in the emulator Connectivity:

Go to Android SDK Platform Tools folder (Android/sdk/platform-tools) Copy these file (adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll and rename adb.exe to nox_adb.exe Go to Nox/bin folder and paste these files copied on step 2 - Overwrite all then just go to the react native project folder and write react-native run-android


  • to run app in android | npm run android

on Mac problems

FEATURE

Problems