Open-source Capacitor plugin for reading passports and ID cards with NFC

Hi everyone,

I built capacitor-id-reader, an open-source Capacitor plugin for reading electronic passports and ID cards on iOS and Android.

It can:

  • Scan the document’s MRZ using the camera.
  • Read document data from an ICAO-compatible NFC chip.
  • Optionally read the face image stored in DG2.

The plugin works with Capacitor 8, is independent of the UI framework, and is MIT-licensed. There’s also a minimal example app in the repository.

A limitation: the plugin reads data from the chip, but it does not verify the document’s authenticity, the holder’s identity, or liveness. Compatibility can also vary by document and device. The README and AUDIT.md contain the current limitations.

GitHub: GitHub - muzychenka/capacitor-id-reader: Capacitor ID card and passport scanner with MRZ camera scanning and NFC chip reading for iOS and Android · GitHub

I’d love feedback, especially from anyone building an onboarding flow or working with identity documents. If you try it, it would be helpful to know which device and document type you tested and whether you ran into any issues. Please don’t share personal document data in public reports.