-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
gms.vision in microG #395
Comments
Seconded. Using the latest microG, most things work well but getting stuck at anything to do with barcode/QR code scanning. Apps either report an error right away, or show the feedback from camera but don't recognize any barcode I throw at them. A workaround would also be appreciated. |
Vision Barcode API is now added via 5e39818. Vision Text and Face APIs are not available yet. |
They are three issues (#1637, #1639 and #1640) that seem to show there has been a change with this API somehow. @lfxgroove, since you initially implemented that, could you have a look? |
DigiD in the Netherlands also doesn't work, which means you cannot use is to login to any Government service. Especially during tax season this is a problem... |
Indeed this is causing an issue when trying to scan a QR-code within the DigID app. Would be great if this implementation could be made fully working. |
there are two problems with digid:
|
The link isn't working, it would be nice if you can screenshot the qr code and post it here as sample. |
I thought the state was stored fully in the URL. You can instead go to https://digid.nl/inloggen, click digid and type in "XXXX". The code without the logo: I could've sworn I wasn't even able to scan the code from a screenshot with zxing before, but I am unable to reproduce that. Regardless after trying for a very long time while debugging this I never got zxing to scan the code from a camera(even when using android emulator's virtual scene instead of a real camera), while zxing-cpp managed to scan it without much trouble.
Disregard, the stack trace mislead me |
I need this to work very soon. I would like to place an €80 bounty for microg to support DigiD. Is there a preferred way to do this? |
@mar-v-in I second that I would like to sponsor support for MLKit QR code functionality, as also proposed in #2018. Is this something that you could do? What would be the cost; perhaps we could do a crowdfunding for this feature? Or is this not how it works? |
I started reversing this API a few months ago, I'd be happy to pick it back up if someone knowledgeable about the inner workings of gms/microg would be willing assist me by answering questions along the way |
DigiD used to work for users that want to evade invasive Internet oligopolies by using privacy-focused alternatives like /e/OS or LineageOS-MicroG. However, as of January this year, DigiD has taken a concerning turn. An update has introduced a hard-coded, unnecessary feature availability check for Google Mobile Services. An honest mistake at best, or masquerading as an anti-tampering measure at worst. In reality, it does nothing more than create a vendor lock-in, directly contradicting the government's stated goal of reducing dependence on foreign tech giants and increasing the accessibility to digital government services. The DigiD team needs to acknowledge the problem lies with their app, not our devices. This is a pivotal moment where the Dutch government must practice what it preaches. By enforcing this update, they are pushing users away from privacy-respecting solutions and further into the arms of invasive big tech companies. It's a step in the wrong direction. What You Can Do:
Now is the time to take action and ensure that the Dutch government aligns its actions with its principles of privacy and data sovereignty. Don't let this update hinder your choice of a privacy-conscious digital environment. |
I am not sure that DigiD is performing a feature availability check. Instead, they are just using MLKit API (cf. https://developers.google.com/ml-kit/vision/barcode-scanning), which seems to be strongly recommended by Google. Sooner or later, many apps (which depends on GMS) will use that, I think. |
Since MicroG Services version 0.29.233013 (but maybe earlier) I'm able to scan the Digid-app QR-code! Digid-app version 6.9.3. But only if I zoom in the QR-code a bit. |
Awesome! Is that because digid switched back away from gms.vision or because microG implemented it? I'll test it later and if it works because of microG, I'll be ready to deliver the bounty I offered, if anyone wants it. |
Why can't I log in to my Google account in Micro G? |
I'm not sure. I know that Digid developers where working on this Google vendor lockin. |
Why would you login to your Google account within MicroG!? |
@Evanyoub You can, just go into the microG settings and select the option. Also, this is off-topic. For further questions or issues regarding this, please open a new issue. |
@baahver this could be good news. I have those same versions but I can't get it to work. What do you mean exactly with "zoom in a bit"? You don't have any Gapps package installed? Also, I noticed that the N26 bank app QR-code scanner (for iDeal) is not working with MicroG in stead of GMS. Perhaps it's the same issue. |
The fact that the DigiD app now works has nothing to do with changes in MicroG. The developers of the DigiD app changed the QR code scanner part and it does not depend on Google Play Services anymore, as you can read here (in Dutch): So it's good news, but nothing has changed for this issue. As far as I know other apps which use ML kit still don't work. |
Great! |
Ah, nice trick! I tried it for the DigiD app (3.9.3) and could not get it to work - SecScanQR could not scan the QR code, and the BinaryEye app which I usually use could scan the code (it contains a
Just tested this and indeed, the DigiD app now works without GMS as expected (though scanning is a bit finnicky, zooming my browser to make the QR bigger on screen seems to help, though also reveals significant JPG artifacts that probably not help with scanning...). I've sent DigiD a message about not working without GMS early september, and even though I did not get any reply to that, apparently they did take my message to heart and fixed it, which is good :-) But indeed, as mentioned, that does not change the status of this issue - it would be good if microg would also implement this API for other apps that still use it. |
Can confirm, Digid works with some finagling. As for this issue still being necessary: absolutely. My bounty is still on. :) |
Hi,
Any intent to add gms.vision into microG GmsCore in close future?
The text was updated successfully, but these errors were encountered: