Impact vaccine eu certificate android verifier app

Overview

DGCVerifier Android Application

This is an application that scans the EU certified signed QR codes generated by the microservices will be available soon in https://github.com/centralinspection/impact_vaccine_eu_certificate_microservices

App workflow

  1. The app will update its public certificates once a day on app launch.
  2. Certificates need to be updated and in synch with the servers for the scans to work.
  3. If synch fails, user can go to Verifier section and manually trigger another update.
  4. Once public certificates are updated, simply tap on the QR code in Home screen, and Scan. Success and error scenarios are already handled.

Code integration

  • The API to fetch the public certificates needs to be set up on your end, to do so:
  1. Update the Base URL of the API call in the “build.gradle” file, defined by the variable HOST_ADDRESS.
  2. Update the endpoint of the API call in the “Services.kt” file. The function is currently defined as getCertificates().
  3. Update the structure of the response object defined in “CertificateResponse.kt”.

The current sample call, will make a GET request to “https://NATIONAL_BACKEND_HOST/PATH/FOR/PRODUCTION/trustList”, and expects a response in the format: [ { “rawData”: “…” }, { “rawData”: “…” }, … ] The values contained under the rawData string are treated as the Public Keys that the app saves, and needs, to successfully scan the QR codes.

NOTES:

  • You can redefine the response structure to accommodate whatever response you configure from your developed APIs.

  • The build.gradle file already has 2 configurations defined for QA and PRODUCTION, that you can switch between through the Build Variants in Android Studio. Make sure to define the appropriate HOST_ADDRESS url for the appropriate environment.

  • The scanning logic is handled in the QrScannerFragment, mainly in the handleResult function.

  • The Public Certificates are saved and managed in DGCCertificateManager.kt

  • On successful scan, the app loads ScanSuccessFragment.kt, where it will display the data of the QR you just scanned. The data returned is coded, and the mapping of each field to its display value is handled in the VaccinationViewHolder.kt, and PcrViewHolder.kt accordingly.

To run this

This code should run in debug mode, but may require you to create your own Keystore file for the project to run it in release mode. You will also need to update the applicationId for your project, and update the proguard-rules to use your new package name to keep your mapping classes in the “model” package.

You might also like...
Water tracker app helps you with daily reminder to drink water. This app is just a trial to test and improve my android development skills.
Water tracker app helps you with daily reminder to drink water. This app is just a trial to test and improve my android development skills.

🚀 About Me I am a self-thaught developer learning web and android development. This app is just a trial to test and improve my android development sk

Visual Studio App Center Sample App for Android

Visual Studio App Center Sample App for Android The Android application in this repository and its corresponding tutorials will help you quickly and e

Android app for Ribbit, Broker API Reference App
Android app for Ribbit, Broker API Reference App

Ribbit Reference Implementation (Android) The reference implementation for designing the Android user interface of a broker-dealer trading application

Android-Java-App - Notepad app with user and password. SQL Lite
Android-Java-App - Notepad app with user and password. SQL Lite

DVNote2 App Android-Java-App Notepad app with user and password Application made in Android Studio with Java language and SQLite database. How does it

Android Bitcoin market app base on Jetpack Compose and MVI. The app displays current bitcoin market price and history price k-line charts.

compose-bitcoin Android Bitcoin market app base on Jetpack Compose and MVVM & MVI. Features Current bitcoin market price. K-line charts of history pri

App for lesson 8 of the Android App Development in Kotlin course on Udacity
App for lesson 8 of the Android App Development in Kotlin course on Udacity

Connect to the Internet - Mars Real Estate This is the toy app for Lesson 8 of t

Android Camper parking app written in kotlin for assignment 2 of Mobile App Development
Android Camper parking app written in kotlin for assignment 2 of Mobile App Development

Technical Report Splash view Application shows a splash screen when opened. The

Quiz-App - An Android app which have some basic questions
Quiz-App - An Android app which have some basic questions

Quiz-App An Android app which have some basic questions Start page Questions pag

Owner
null
Paimondex App is an Android App that contains super mini wiki for playable characters from Genshin Impact, where you can favorite to save the character

Paimondex App is an Android App that contains super mini wiki for playable characters from Genshin Impact, where you can favorite to save the character. This could also show you the description of the each character with their talents and constellations.

Ervin Suriandi 1 Apr 13, 2022
Covidapp - The COVID-19 crisis and social distancing had a significant impact on our lives

Covid App The COVID-19 crisis and social distancing had a significant impact on

Abhinav 1 Jan 10, 2022
EU Digital COVID Certificate Wallet App - Android

This repository contains the source code of the EU Digital COVID Certificate Wallet App for Android.

null 57 Oct 6, 2022
Food Recipe App is an app for collecting most of food recipe in one app

Food Recipe App is an app for collecting most of food recipe in one app

Heba Elsaid 10 Dec 25, 2022
Arjun Naik 1 Apr 16, 2022
Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks

Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks

MindOrks 1.2k Dec 29, 2022
Android-basics-kotlin-tip-time-app - Tip Time app from Android Basics in Kotlin

Tip Time Tip Time app from Android Basics in Kotlin at developers.google.com. It

Ramon Lima e Meira 0 Jan 2, 2022
Environmental-Monitoring-Android-App - This Android App is used to monitor environmental parameters data from remote sensors

Environmental-Monitoring-Android-App - This Android App is used to monitor environmental parameters data from remote sensors. Parameters includes but not limited to temperature, humidity, air quality, level of Ionizing radiation, ...

Francisco Pascal Elias TAMBASAFIDY 0 Jan 4, 2022
Library to change Android launcher App Icon and App Name programmatically !

AppIconNameChanger Change Android App launcher Icon and App Name programmatically ! Download Demo APK from HERE Kindly use the following links to use

Prabhakar Thota 587 Dec 29, 2022
HideDroid is an Android app that allows the per-app anonymization of collected personal data according to a privacy level chosen by the user.

HideDroid An Android App for preserving user privacy HideDroid is an Android app that allows the per-app anonymization of collected personal data acco

null 100 Dec 12, 2022