This repo shows you an example application to interpret and use XcooBee based QR codes. This is only showing high level implementation and should not be used for production directly without revisions.
All code is delivered as is under the Apache 2.0 license
Here are a few things you can practice on:
- you do not allow repeated scans
- make the shopping cart scrollable
- add delete option
- feel free to update packages and submit a PR if things are outdated
It has multiple features including a shopping cart element where you can scan multipe Xcoobee Smart-QR codes and add products to your cart.
This Mobile App Requires
- Expo
- React Native
- Expo-Go App
We assume that you use the yarn package manager for our examples. If you do not have, we recommend that you install it.
- Expo -> go to Expo.io and follow install instruction
You will need EXPO-CLI and if you need to run it on your device you will also need Expo-Go App from the Google or Apple app store.
1.) Clone this repo. You can use this command line: git clone https://github.com/XcooBee/example-qr-reader.git
2.) Run: yarn install
- run
yarn web
on command line
you will have a
- run:
yarn start
Example QR codes are found in the exampleQRs
directory.