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.

          9 days later

          Uphill1945 Thanks for pointing that out, I had to disable privacy.resistFingerprinting in about:config for it to work now. Left the other default fingerprinting settings enabled (as default).

          @finitefutility just double checking; scanning the Digid QR codes with the app now works for you? I'm on 6.5.4 and it's still not working for me, no matter which desktop browser I use. I'm running without (sandboxed) Google Play Services though.

            I had the same issue with QR codes not being scanned. After installing sandboxed Google Play, the issue disappears. Network Access for at least one of the 3 Google Play apps is required. My test was with Network Access disabled first for all 3. When that didn't work, I enabled access for all three, and it started working.

            I was hoping to avoid Google Play all together, but it looks like I found my first reason to start using User Profiles.

            16 days later

            pascalw hey yeah it works but I do have Google Play Service set up...

            And mildly enjoying how they were forced to publish a snapshot of their code... Glad to see transparency requests can sometimes work in government!

            2 months later

            Indeed it works with Network Access enabled:

            • Google Play services
            • Google Play Store
            • Google Services Framework

            Have you guys noticed that when you enable Camera permission -> Ask every time in the DigiD app, the app doesn't prompt you for camera access if the Google services above are enabled?

            2 months later

            Is this still the case? or was it (hopefully) fixed?

              a month later

              Another DigiD user here ;) Ran into the same issue, DigiD only seems to scan QR codes when all three Google service apps are running with network permissions enabled. I would have not figured this out without this thread, so thanks!

              I came up with this workflow btw:

              • I have a Work Profile with the three Google services apps installed and DigiD that I use whenever I need DigiD to scan a QR code.
              • I have another instance of DigiD running on my main user profile that I use whenever I want to access a DigiD-required website using the browser on the phone itself (this does not involve scanning a QR code, so no Google service apps are required).

              It's not ideal, but it works. Anyway, nothing that GrapheneOS can fix I'm afraid. Really hope DigiD changes their QR scanner to not rely on the Google services in the future...