-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Scanning QR code does not work (missing feature?) #670
Comments
I'm seeing a similar issue with the DHL locker app, which tries to scan a 2D barcode and also shows the camera but never scans the image (easy to reproduce with DHL locker, no account or login required, just select "Deliver" at startup). The backtrace is different, though:
|
Also having issues with scanning QR code in Swedish BankID app. This spams the logcat while the camera is active.
|
Same issue here with Swedish BankID on a Lineage OS with microg. I bypassed this issue by installing a QR code reader (from F-droid) and show the QR code generated by the BankID website which pops up a link. An OK on the link activates the BankID app on the mobile (which runs in the background) and you have to set your password. Activation done. 👍 |
I guess I have the same issue when trying to use the QR code scanner to log into the 1Password app.
|
I have a similar issue. The app does not even show an image from the camera, just a black square and switches to manual number-entry after a minute. |
Seconded. I know this has to do with "dynamite vision" module or somesuch and I know that's a "maybe" according to the wiki, was just wondering how likely is it to actually happen. |
Duplicate of #395? |
I confirm that using a separate qr scanner app (SecScanQR from F-droid) works as workaround for BankId (with the right version of gmscore, see #824). |
This does not work for me now, not sure if they changed something or if there's something wrong with my phone. SecScanQR opens the link with BankId, which changes to say "Please wait..." for a fraction of a second but then goes back to the main/idle screen. It was working with my old id earlier today before I reinstalled the app. |
@JohanAR the workaround doesn't work on my phone either, so I'm guessing BankID have been updated. I'll report back if I find another way. |
@owlnical I managed to install a new bank-id a few days ago. I had emailed Nordea asking for a manual activation code and they sent me a generic template response with instructions. It also had a link to a different bank-id activation page: https://identify.nordea.com/apps/bankid/login that shows a QR code (but yeah, a different page than the one you get if you try to order a bank-id from inside the online banking service). However this QR code I could scan with SecScanQR and the bank-id app would now ask me to set a password instead of getting stuck like before. Setting a password also failed 4 times, but then the web page refreshed with a new QR code that allowed me to finally get everything working. Anyhow, if the QR codes aren't working for you and you have Nordea then you can order a personal code. If you use that code to identify at the previous web site it should give you an activation code that you can enter into the bank-id app after it complains about missing QR library. I used a mobile authenticator which is why I got the QR code instead of activation code I was trying to get. |
@JohanAR Perfect! This is exactly what I've been struggling with. Thanks a lot for sharing! |
More and more apps use the QR code Google API. Does anybody know a library that implements the QR code Google API? |
microg/android_external_GmsApi#14 and microg/android_external_GmsLib#18 were pushed y-day. |
thanks for the update, subscribed to those PRs!
|
@JohanAR @owlnical You only get the QR-codes if you use different devices like your computer and your phone. That said there's still need for QR-codes to work and i will try the newly added functionality as soon as it's in an release or someone explain how i can try it out. |
For BankId on a different device, a workaround is to scan with SecScanQR, copy the text, add |
@monperrus is that for creating an mobilt BankID or for logging in to a service on a different device (computer)? |
for logging in to a service on a different device. Did you also manually add the `&redirect=null`?
|
@monperrus adding &redirect=null doesn't change anything and it still doesn't work on different devices. |
I've had the same problem while trying to use BankID for some webservices like Handelsbanken but actually got the "&redirect=null"-workaround working, only tested Handelsbanken so far though, THANKS! |
Confirmed not working for Belfius Mobile and Payconiq. Any sight on implementation? Or another workaround to be suggested? |
Vision Barcode API is now added via 5e39818. |
Hi, thanks for this great FLOSS initiative!
I suspect this is not a bug in the existing program, but a feature that has not been implemented (yet).
When I use an app that scans a QR code for something, it never recognizes the code. Instead, it just keeps the camera running indefinitely.
When running
logcat
on the device, the following stack trace jumps out:I'm assuming this means the
vision
module is not present in the Microg implementation. Is there a way to provide this module? If I'm reading the Google documentation correctly, the Vision API is superseded by Firebase ML Kit, which is now in beta. After a quick search I found that parts of Firebase are made open source. Could we somehow include Firebase in Microg, or am I way in over my head here?The text was updated successfully, but these errors were encountered: