New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QR Code Scanning not working [Xiaomi Poco M3] #657
Comments
Are you sure you're seeing this issue on 1.4.1? There was an issue in 1.4 with QR code scanning, but after the release of 1.4.1 all other feedback we've gotten suggests that the issue was fixed. In case you're sure: could you capture a log with ADB and share it? We have a guide on how to do so here: https://github.com/beemdevelopment/Aegis/blob/master/CONTRIBUTING.md#capturing-a-log-with-adb. |
Yes I'm sure it's the latest version 1.4.1 (also read about your latest issues with the camera). I tried to debug the application but I failed to only log the aegis related stuff (so I have now a full debug log with probably lots of confidential informations?). So may you help me which parts are relevant? What I also can mentioned, as it is a Xioami phone I deactivated some bloatware (also like google lens etc.) and maybe this is causing the issue? |
If it helps, reading Aegis 1.4.1 QR codes works fine on my Xiaomi Poco X3 NFC running debloated MIUI 12.0.4 |
@DevSupporter Someone with exactly the same device reports that QR scanning is working for them. Do you have the same version of MIUI as @Cohiba99? If not, can you update to the latest version and see if that fixes the issue? |
The phone is running on MIUI 12.0.5, so the latest version. Cohiba99 was writing about the Poco X3, but I have the issue with the Poco M3. I also installed an GCam addaption for the phone, but I already tried to uninstall und retry but still have the issue. I tried several other Apps, like andotp, TOTP Authenticator etc. and they all work. Only for Aegis (which I want to use) the issue with the missing viewfinder / QR Code scanning is happening |
Ah my bad, I misread your message, X3 and M3 look very similar.
There is no viewfinder, the preview you're seeing is what all other user also see. I guess we can write a debug patch to see what the picture your phone is taking through CameraX looks like. |
Yes no problem (about X3 / M3) that's why I just pointed it out. Good to know that there is no "viewfinder". But I tried again with several QR-Codes, it just does not scan it. How could you provide me the patch so that I can test it? |
I'll have to write it and provide you with an APK. |
I am having the same issue with a Motorola G7 power. I am on version 1.4.1 as well. |
Same issue with OnePlus 7Pro, Oxygen OS 10.3.7. Tested app versions 1.3, 1.4, 1.4.1 and 1.4.2. Edit: 1.4.2 from the play store works, but still does not display the "viewfinder". I was previously using the F-Droid versions, except 1.4.2 from github (apk download). |
Let's try forcing CameraX to target a higher resolution. Can those who experience this issue try the following debug APK and report back: https://alexbakker.me/u/c1mv100j2u.apk? |
For my part, that didn't work either. I generated a test code from http://security-totp.appspot.com and your debug APK didn't detect it. But release 1.4.2 from the Play Store does. I can continue on with the Play Store version, but I'm happy to test things to help other people get theirs working. |
If 1.4.2 is able to scan QR codes, then so should 1.4.1, because no changes to the scanner were made since then. It's surprising that the debug APK doesn't work for you though. On my device, it's able to detect QR codes at much greater distances now. Curious what others' findings are.
There is no view finder, it will try to detect QR codes visible anywhere in the camera preview. |
Just short feedback from my side (little bit on a hurry): I downloaded the APK with the higher resolution for the cam, but it did not changed anything. Still scanning of QR Code is not possible (tried several ones and also the generator posted above). I also retry with the new version 1.4.2 but also here nothing changed for me (Poco M3) |
@alexbakker Sorry for the confusion, what I meant was that whether QR scanning works or not (for me) seems to be dependent on the installation source of the APK. It seems anything other than Play Store (F-Droid or manual download) does not work, while Play Store works. I said "1.4.2 from the Play Store" worked because that's the only version the Play Store offers (only the latest). And thank you for clarifying on the view finder; most QR scanners have one so I kind of assumed Aegis would as well. |
I'm not sure if this is the same issue, or a different one. It's related to both this and issue #677 in that I have extreme difficulty scanning QR codes, especially dark mode ones, but not always just dark mode. Using a OnePlus 9 OxygenOS 11.2.2.2 -- I would say...80% of the time I can't pick up a barcode from within Aegis. What I find interesting is that Binary Eye (FOSS -- F-Droid, Github, and Google Play) can, 100% of the time, pick up barcodes that Aegis doesn't, and it also uses ZXing for it's engine. |
@Brian-Chow Can you try the APK linked here: #657 (comment)? Does it improve the situation at all? |
I haven't had a chance to test exhaustively, but so far, in my limited testing, no, it seems the be the same. Either both the google play and dev version pick up the QR, or neither does. |
For anyone still not able to scan QR codes with Aegis at all, please see: #726 (comment). |
[Commented on wrong issue, comment removed] |
Info
Steps to reproduce
1.) Tap to scan a new QR Code --> Premission for camera allowed
2.) Camera opens up, but without "Scanning Frame" (Fullscreen preview of camera)
3.) No matter how close / far you go to an QR Code - no scan possible
--> All other Apps like Google Auth, Microsoft etc. are able to scan
What do you expect to happen?
Scan of QR Code
What happens instead?
Nothing - only preview of camera
The text was updated successfully, but these errors were encountered: