Skip to content
This repository was archived by the owner on Nov 14, 2021. It is now read-only.

scanning of code is difficult and sometimes does not work at all #5

Open
Danfro opened this issue Jul 22, 2021 · 23 comments
Open

scanning of code is difficult and sometimes does not work at all #5

Danfro opened this issue Jul 22, 2021 · 23 comments

Comments

@Danfro
Copy link
Contributor

Danfro commented Jul 22, 2021

My own experience, backed by several other users, show, that scanning of the printed QR codes is quite difficult and only works sometimes.

Scanning with artificial light (in the evening) did not work at all with my E5. Same for other users. With daylight it worked better. Using Xperia X, with a better camera, worked better too.

But still, for some users it fails to scan the code entirely. Scanning the same code under the same condition with Tagger app works flawless. So there seems to be something different here.

One workaround is, to scan the code and read it from screen in bigger size.

@gbdomubpkm
Copy link

Thank you very much for the app. I confirm it works on the Volla (arm64) but sometimes capricious.

@yaemmanuelli
Copy link

I tried to scan a French UE certificate on a Volla phone, from a computer screen : the flash light is activated although not needed. The scan never succeeds, maybe because of the reflection of the flashlight ? The scan works with Tagger, but something goes wrong with the Copy/Paste process : there is no reaction after pressing "Copy to clipboard" on Tagger, and pressing the Paste top right button on Corona does not succeed : have I missed anything ? Thanks!

@arnef
Copy link
Owner

arnef commented Aug 9, 2021

I tried to scan a French UE certificate on a Volla phone, from a computer screen : the flash light is activated although not needed. The scan never succeeds, maybe because of the reflection of the flashlight ? The scan works with Tagger, but something goes wrong with the Copy/Paste process : there is no reaction after pressing "Copy to clipboard" on Tagger, and pressing the Paste top right button on Corona does not succeed : have I missed anything ? Thanks!

sounds like you are doing everything right. Give it a try with latest version (1.2.2). The scanned qr-codes must start with HC1: if it does not, it is not a certificate that the app can handle - i should probably show an error message in this case ;)

@yaemmanuelli
Copy link

I retried scanning and copying to the clipboard on tagger: then after updating Corona to 1.2.2, I attempted pasting from Corona's scan screen, top right button, and the application froze. Eventually pasting into Notes proved that the code was well copied to clipboard by Tagger. The code starts with HC1: , shown in Notes. Tagger tells me that the "Content length" of the code is 487.

@Thieb67k
Copy link

Hello,
I confirm what yaemmanuelli describes in the last message.
From Tagger, the QRcode is read quickly (give me 567 characteres). I cannot manage to scan with CoronaApp and freeze when I try to copy-paste the link from Tagger.

By the way, the app cannot scan a previous QRcode that worked previously (deleted beforhand)

Best,

(OTA-18 on nexus4, CoronaApp version: 1.2.3)

@gbdomubpkm
Copy link

I have rescanned my certificates from the app V 1.2.4 and it works better for me with the Volla (RC 31) but not always a first time success.
I like your blue color for the full vaccination certificate.

@carlgust
Copy link

carlgust commented Sep 8, 2021

I was also not able to scan the QR-code with the corona app.
My workaround is:

  1. Scan it with Tagger.
  2. Touch the clipboard icon.
  3. Launch CoronaApp.
    Result: The certificate appears in the CoronaApp.
    But then I have the same behaviour as Issue: # Started only the first time Started only the first time #12
    I have a Nexus5 OTA-18 and my apps are all up-to-date.

@Vistaus
Copy link
Contributor

Vistaus commented Sep 9, 2021

Same issue here: even in broad daylight, it doesn't scan the QR code. I tried it many times now. It shows the camera preview just fine, but it doesn't scan anything.

Device: Xiaomi Poco F1
UT version: latest stable
App version: 1.2.4 and 1.2.5

@carlgust's workaround doesn't work for me.

@arnef
Copy link
Owner

arnef commented Sep 9, 2021

Whats the problem with the workaround? You may share the logs? Version 1.2.5 works mutch better on my xperia x than the previous one. On the bq e4.5 everything works fine too

@Vistaus
Copy link
Contributor

Vistaus commented Sep 9, 2021

The problem with the workaround is that I press the clipboard icon in Corona App, but nothing happens, even though I really did copy the QR code in Tagger. I'll see I can find a log and share it.

@arnef
Copy link
Owner

arnef commented Sep 9, 2021

Does the copied value starts with "HC1:"?

@Vistaus
Copy link
Contributor

Vistaus commented Sep 9, 2021

No, with “NL2:”.

@Danfro
Copy link
Contributor Author

Danfro commented Sep 9, 2021 via email

@arnef
Copy link
Owner

arnef commented Sep 9, 2021

No, with “NL2:”.

if (text.startsWith("HC1")) {

It must start with "HC1" otherwise the app ignores the code...you can change this line and check if the code is decoded correctly

@Vistaus
Copy link
Contributor

Vistaus commented Sep 9, 2021

But the code from the Dutch certificate really does start with NL2. Even if I change that line, how am I sure it's going to work when someone at an event scans it?

@Vistaus
Copy link
Contributor

Vistaus commented Sep 9, 2021

I just changed it to HC1 and pressed the paste button in Corona App but it just returns me to the start screen without saving anything.

@arnef
Copy link
Owner

arnef commented Sep 9, 2021

But the code from the Dutch certificate really does start with NL2. Even if I change that line, how am I sure it's going to work when someone at an event scans it?

the app doesn't manipulates the value. just save it to your device and displays it as it is...the prefix is only important to decode and display the information inside the app

@Vistaus
Copy link
Contributor

Vistaus commented Sep 9, 2021

Good to know, thanks! :)

But it didn't work (see my previous comment).

@arnef
Copy link
Owner

arnef commented Sep 9, 2021

the decoding differs from the EU Certificates...so at the moment your certificate is not supported...sorry

@Vistaus
Copy link
Contributor

Vistaus commented Sep 9, 2021

Alright, no problem. Will you be able to add support?

Strange that it differs, though. As a Dutch citizen, I'm part of the EU. :/

@Danfro
Copy link
Contributor Author

Danfro commented Sep 9, 2021 via email

@arnef
Copy link
Owner

arnef commented Sep 23, 2021

Alright, no problem. Will you be able to add support?

Strange that it differs, though. As a Dutch citizen, I'm part of the EU. :/

@Vistaus I just uploaded an pre-release here which should be able to handle your certificate

@Vistaus
Copy link
Contributor

Vistaus commented Sep 24, 2021

@Vistaus I just uploaded an pre-release here which should be able to handle your certificate

Yay, thanks! I can confirm that it now handles it. 🙂 Although scanning from the app once again didn't work, but copying from Tagger did work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants