AndyQ / NFCPassportReader

NFCPassportReader for iOS 13
MIT License
761 stars 249 forks source link

Add tracking delegate and improve error handling #234

Open mikahautz-mohemian opened 3 weeks ago

mikahautz-mohemian commented 3 weeks ago

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.