Add a tracking delegate for the PassportReader to track the detection of an NFC tag and the authentication processes (BAC and PACE).
We added the tracking to gain insights into the duration of each step, depending on its completion status (success or failure).
Note: There are no breaking changes, since the default implementation of the tracking delegate in the PassportReader is empty.
Error Handling
Add more detailed error handling to provide users better feedback on why the reading failed.
Add TimeOutError when the reader session timed out
Handle errors properly when the connection to a tag is lost during reading by throwing a ConnectionError instead of Unknown
Tracking Delegate
Add a tracking delegate for the
PassportReader
to track the detection of an NFC tag and the authentication processes (BAC and PACE). We added the tracking to gain insights into the duration of each step, depending on its completion status (success or failure).Note: There are no breaking changes, since the default implementation of the tracking delegate in the
PassportReader
is empty.Error Handling
Add more detailed error handling to provide users better feedback on why the reading failed.
TimeOutError
when the reader session timed outConnectionError
instead ofUnknown