1. What is the issue? Please be detailed.
We are sharing the code with our data collectors using whatsapp and similar platform. They are not able to scan the code, which is there in the gallery. Is there any way to upload the barcode from existing image, rather than scanning it.
2. What steps can we take to reproduce this issue?
You can trry keeping a barcode quuestion, in your form. You will only get the option of "Get Barcode", which will open the camera. But there is no option to upload existing image from gallery.
3. What have you tried to fix the issue?
I tried looking for some solution on odk documentation and forum buit did not found anything relevant.
4. Upload any forms or screenshots you can share publicly below.
Hi @abhinav_sinha, I don't think you are able to upload barcode to the 'barcode' question type, the user has to use the device camera to scan it.
You stated that you send the code to the data collectors via WhatsApp, may I ask why to better understand your use case.
Do you have all the unique barcodes you want the data collectors to scan?
So what we are basically doing is generating unique QRs for each submissions at production site. So we basically have 2 locations, 1 is production site and other is client site. After a submission is made in the form of the production site, we are generating a unique code using an api and url property of odk, that qr we are sharing with our client ovr whatsapp. Which when the client form is getting filled will be needed for maintaining relation between the 2 forms. So this is my scenario for which scanning is not helping as such, and i am looking for some upload option if available. If my scenario is making sense, can you suggest if not through barcode datatype what other method can i use to maintain this relation.
QR codes are convenient because they can easily make it possible to get data from the physical world (a poster, a screen, etc), into a phone. Here it sounds like everything stays in the digital world. Why not send a text code over WhatsApp that can be copied and pasted into a Collect text field?
We allow selecting QR codes from image when configuring Collect because we don't currently provide a good text-based way to do this configuration. But ideally we would use a URL or text-based code for that as well.