The Digid app is used to log in online for e.g. taxes and insurances. It is a government supplied app with which you can prove your identity. The login sequence consists of the app producing a code, that is typed in the site to log in to, the site shows a QR code that has to be scanned on the phone within the Digid app.
Digid sees the QR code allright (it can use the Camera and shows the camera image) but no QR code is recognised. My banking app works the same way, but can recognise QR codes from within its app immediately.

Since Digid works on any phone of people I know, I am suspecting it has to to with it being on GrapheneOS. It is in a profile that also has Google Play installed.

Are there any dutch people around that got Digid working on GrapheneOS?

    I noticed this as well. The app uses Google Mobile Vision to scan QR codes, which probably depends on Google Play Services. Shame!

    I have the same issue on the latest version. Probably worth emailing them to make them aware of it, hopefully they're interested in taking a different approach?

    Edit: just noticed this about Mobile Vision:

    The Mobile Vision API is deprecated and no longer maintained. It is now a part of ML Kit which includes all new on-device ML capabilities.

    So maybe they have to move anyway?

    And here I was thinking I was alone in this issue. I can successfully scan other QR codes (Thuisbezorgd.nl, etc) but DigiD absolutely refuses to capture the QR codes. It's been the downfall quite some times, and I have to resort to logging in via Username and Password (though some sites that rely on DigiD don't properly acknowledge the "handshake" that happens when logging in via U/P). It's been a continual frustration for about a year now. Where is the solution?

    I've reported the issue. Hopefully they can replace it with another solution. There are good open source QR code scanners available.

    Even better: if they could open source the app like many other government software we could fix it ourselves 🙂

      pascalw There are good open source QR code scanners available.

      Indeed the default Secure Camera app that comes with GrapheneOS is one ^_^

        GOS camera app uses the ZXing open source library for QR scanning. Generally it's pretty easy to swap out QR code libraries.

        In the meantime I've contacted DigiD and the first response was "We don't support GrapheneOS, only Android is supported.". Let's see if I can make it through to their 2nd line support.

          pascalw
          I contacted them too, saying I use GrapheneOS and asking whether they are using Google Mobile Vision and that it is deprecated but got a very boilerplate response on the level of... "try again".

          Maybe we can coordinate to get things through to their technical support? Did you reference that open source library to them yet?

          I am kind of surprised all other apps with QR scanning are working fine.. What libraries would they be using? Or have DigiD not implemented theirs properly?

          JuliaDerchter Do you have both Play services and the Play Store installed? It may depend on them being granted permissions you haven't given to them such as enabling Storage Scopes.

            strcat
            It doesn't ask for much permissions other than network, sensors, camera and notifications. Hopefully we can convince them to take inspiration from GOS camera!

            5 days later

            pascalw In the meantime I've contacted DigiD and the first response was "We don't support GrapheneOS, only Android is supported.". Let's see if I can make it through to their 2nd line support.

            Any luck so far? I've sent a reply asking whether the fault is due to Google Mobile Vision (and that it is deprecated) and asking for the use of open source libraries.

            I have send emails repeatedly to the developers of DigID well over a year ago (Logius), and they have never even bothered to respond.

            The app used to work - including scanning QR codes - around a year ago (without Google play services!). Eventually an update caused it to break. I avoided updating as long as possible but eventually the old version I had was deprecated and did no longer work because it was too old.

            It's a shame that apps like this are dependent on third party services and that it doesn't work natively.

            Nice to see fellow people from the Netherlands using GrapheneOS btw, we're one of few and I personally don't know anyone else that uses GOS.

            Best of luck with getting through to Logius!

            They have asked me to email them with my BSN and a phone number they can reach me on, so they can get more information. I may email them to check what they will say. I wasn't aware of Logius, pretty bad they don't bother to respond...

            a month later

            The app works for me on the latest version 6.5.4 but I'm not sure it was because of that. It looks like FireFox wasn't generating the QR code image correctly when compared to Chrome... is this what others have noticed as well?

              15 days later

              finitefutility Working for me as well.

              For your Firefox, if it looks like a weird colored blob thingy then u should be able to fix that in the firefox settings I had that as well a while ago. Has something to do with the privacy settings and fingerprinting I believe.