I received two QRs for ODK Collect over email on my Android device and I am trying to use the import QR function. However, I get "QR does not contain valid settings". However, If I scan the same QR it works OK.
Attached are the two examples of the QRs in jpeg and png formats
The only thing that comes to my mind is the size of the image but other Android QR readers are able to load both images.
I've found that if you take a screenshot of the QR code and crop it, it doesn't work with the "Import QR code" option. However, if you use the "Share" icon to send the QR code, you can use the resulting file with the import option. Do you know how the QR code files are being saved out from the source app installation?
If I scan the QR and then export it, the resulting QR loses some of the settings:
{
"general": {
"navigation": "buttons",
"server_url": "http://192.168.40.254:5900/user/cquiros/project/enviro_champs_tracker",
"hide_old_form_versions": false
},
"admin": {
"change_form_metadata": false
},
"project": {
"name": "Enviro-Champs Tracker",
"icon": "\ud83d\ude1b",
"color": "#b7dde8"
}
}
Maybe because those settings are default? But it seems to me that the import QR function uses a different code to validate the JSON than the scan QR
We are planning on having two releases (v2023.3 and v2023.4) this year but this fix will be rather put into that second one so December I would say but @LN can confirm.