microbiomedata / nmdc-field-notes

Mobile app for metadata collection on the go
https://fieldnotes.microbiomedata.org/
Other
1 stars 0 forks source link

Implement barcode scanner for "Sample Name" field (barcode and QR code) #54

Open eecavanna opened 3 months ago

eecavanna commented 3 months ago

Tasks

Note: There is no nmdc-server piece of this feature. It is client-side only.

Example barcodes and QR codes

image

Type is: QR Code. Decodes to: National Microbiome Data Collaborative

image

Type is: Code 128 (standard). Decodes to: National Microbiome Data Collaborative

Penpot Mockup

image

Thoughts

eecavanna commented 2 weeks ago

A topic that came up during today's squad meeting was "how can we test the barcode reader via the device simulator?" I will look into this and report back.


Update: I implemented a proof of concept in a temporary branch (here: https://github.com/microbiomedata/nmdc-field-notes/compare/main...54E-implement-barcode-scanner-for-sample-name-field-barcode-and-qr-code) where I was able to scan a barcode in the Android simulator. Caveat: On that branch, I cannot compile the iOS app.