-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Philipye314/imp 2 qr code scanner #3
Conversation
IMP-2 QR Code Scanner
Description Create a new branch by clicking the far right icon in the top right corner and pull from main: Create the QR Code Scanner. I will provide a dummy QR code to confirm that the QR Code Scanner works. The links below show the implementation V4V used last year but do a little bit of research and see if this is a best fit for us before starting! Let me (or anyone) know if you need any help along the way! Useful Links V4V Bar Code Scanner: Expo BarCodeScanner documentation: https://docs.expo.dev/versions/latest/sdk/bar-code-scanner/ Related PRs |
efc251e
to
243119f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So good! I think removing the require()
statement should fix the eslint errors
src/app/(BottomTabNavigation)/Cases/QRCodeScanner/img/crosshair.png
Outdated
Show resolved
Hide resolved
* wip: intializing db * wip: fixing branch name * feat: intialized database * update to feature * fixed eslint errors * current supabase update * fixed client initialization * feat: intialize database is done * changed touchableopactiy imports --------- Co-authored-by: foloy <[email protected]> Co-authored-by: Stephanie Wong <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor comments but besides that looks good to me! Don't forget to pull from main because it'll block you from merging!
What's new in this PR
Description
Created barcode scanner that reads information from a barcode and displays it on screen
Screenshots
(SORRY IDK WHY ITS SO BIG)
How to review
Open the QRCodeScanner subfolder in app/BottomTabNavigation/QRCodeScanner. The display of the camera and the crosshair is all dictated by CSS in the corresponding styles.ts file. I'd like some feedback on how exactly the crosshair should be displayed (I. e. should it be around the camera window? should the camera window take up the full screen, with the crosshair overlayed on top?). Should just be reviewed as a final commit. Haven't been able to test user permissions because expo never asks me for camera permission, but I wrote some basic logic to handle that -- not sure if that's part of my job. Otherwise the QRCodeScanner should be functional and you'll know it works if the dummy text below the crosshair updates.
Next steps
Relevant Links
Online sources
Related PRs
CC: @stephaniewong2