I’m unable to setup a project in ODK Collect directly via scanning the QR code generated by ODK central for an app user.
Importing the QR code manually works fine.
2. What steps can we take to reproduce this issue?
Create an app user. Then try to setup the project in ODK Collect using the QR code generated by ODK central. It does nothing.
3. What have you tried to fix the issue?
Well, the camera app of my phone detects the text represented by the QR code, and importing it, manually, works. I tried with other android devices and didn’t work.
I don’t know which details could be useful to debug this issue.
4. Upload any forms or screenshots you can share publicly below.
I don’t know which details could be useful, since the Collect App does nothing at the moment of scanning.
Can someone let me know if this is something with my setup, or someone else is having this issue too.
I’m scanning the QR code from within the ODK Collect app:
Add Project → Scan Configuration with QR code
I was pointing out that the built-in camera app of the device detects the text that the QR code is encoding and within Collect if I choose, import the QR code manually by loading the image from the gallery it works.
Can you please share some information about the device that you're using? What Android version does it have? What's the make and model?
We recently switched barcode scanning to use a library included in Google Play Services. Some devices don't have Google Play Services but we have a fallback for that case so I'm surprised you're not getting any scanning at all.
Is this what the scanning interface looks like or do you see something different like a red line in the middle? When you put a QR code in the viewfinder, do you see a yellow outline appear or no change at all?