newlogic / smartscanner-core

ID scanning Android app and library. Supports MRZ, NFC, Barcodes, and ID PASS Lite cards.
Apache License 2.0
72 stars 20 forks source link

Add logging summary for card's features and verification status #94

Closed typelogic closed 3 years ago

typelogic commented 3 years ago

Current Behaviour

The Tasjael use case does not display the usual GUI flow of smartscanner-core where a complete information of a card in terms of features and verification status is visible.

Expected Behaviour

In use cases where the GUI is not used, we need to log a summary of a card's features and verification statuses. These will provide an equivalent information that is visible in the GUI here

Steps to Reproduce the Problem

  1. Use the Tasjael application to scan a unified ID
  2. Observe that we have no additional information of the card's features and verification statuses

Context

To be able to log a card's summary features and verification statuses, equivalent to the pieces of information displayed in a GUI like in here is a useful information in terms of a card's level of eMRTD features and on which part are verified and not verified.

typelogic commented 3 years ago

Suggested the following diff to log a summary of a card's features and verification statuses.