A food scanner made by Omar REGUADI and Omar ATARI
5 screens are available : HomeScreen, CameraScreen, ProductScreen, FavoriteScreen and HistoryScreen
Packages:
- React Navigation v5
- BarCodeScanner
Installation and usage Be sure, you have installed all dependencies and applications to run React Native Expo project on your computer.
- Clone this repository :
git clone https://github.com/OmarATARI/EasyScan.git
- Install packages :
yarn install
- When installation is complete :
expo start
- Scan Qrcode with expo application to run application in developpment.
First, set your Ip address and your device one in .env.
Build the image:
docker-compose build
Launch container:
docker-compose up
The command may fail the first time, just try again and you will get:
Just scan the QR code with your expo application on your device to get it work.
yarn run lint
According to https://docs.expo.io/distribution/building-standalone-apps. Follow next steps to generate apk (android),
- Update app.json file with mandatory easyscan fields
- Run
expo build:android
- Build fill in queue, wait building. See https://expo.io/turtle-status.
- To save keystore credentials:
expo fetch:android:keystore
- For more information about the link to download apk.
expo build:status
- Current project build(wip) see https://expo.io/@ttedepaille/easy_scan.
- Current build link: https://exp-shell-app-assets.s3.us-west-1.amazonaws.com/android/%40ttedepaille/easy_scan-2abdf165ce9847519f0f6039915347a8-signed.apk