eu-digital-green-certificates / dgca-verifier-app-android

Repository for the dgca verifier android app.
Apache License 2.0
102 stars 117 forks source link

Support to input barcode data directly without decoding a QR Code #205

Open lleoncavallo opened 3 years ago

lleoncavallo commented 3 years ago

Current Implementation

This is a reference project and so it could be important to include here all features that could be needed globally. The template of application now supports only the decoding of a QR Code using the smartphone camera and it is a real limitation because many times the solution results very slow. It is not open to different more efficient technologies to decode the QR Code. It could be very useful to implement mechanisms that could open the template to a second input method based for example on Intent technology.

Suggested Enhancement

The proposal is to make an easy change to register an intent listener in addition to the current camera based implementation. If the application receive a broadcast intent it will simply extract the extra data containing the QR Code content and will process that data as it was decoded using the camera. In this way the template and so all the real solutions implemented in different countries will be able to support more advanced decoding systems like for example external readers connected to the smartphone via BT or Android Barcode Readers and so on. We have implemented a demo in very short time and we could submit a proposal if you are interested.

Expected Benefits

Implementing an intent mechanism to input QR barcode data will make possible to implement much more performant solution granting at the same time a certified validation of people Green Passes. Implementing this feature in the template will make possible to share the same solution in all countries in the same way and it will be easier for third parties to implement efficient solutions portable in all Europe countries.

mkosunen commented 2 years ago

I second this. I'd like to test how this works with NFC implant on which I have stored the data from the QR-code.