nfc library

The optional NFC reader. Import this file only if the host reads a passport chip; the scan path does not need it.

The Android plugin merges no NFC permission. Add <uses-permission android:name="android.permission.NFC" /> to the host manifest yourself. iOS is not implemented: the channel is missing there and NfcChip.read reports no-nfc instead of throwing.

Classes

ChipAccess
The 24 MRZ characters BAC uses as a key. Not a person check.
ChipRead
NfcChip
Android IsoDep BAC. iOS is not implemented. The call waits until a card is in the field or the session times out. It does not write a log line.

Functions

chipAccessFromMrz(MrzData mrz) → ChipAccess?
Pulls the BAC fields from a locked TD1, TD2, or TD3. Null when the shape does not carry those digits.