Skip to main content

cccd_nfc_reader 1.0.0 copy "cccd_nfc_reader: ^1.0.0" to clipboard
cccd_nfc_reader: ^1.0.0 copied to clipboard

discontinued
PlatformAndroidiOS

Offline reader for the Vietnamese citizen ID card (CCCD): NFC chip (ICAO 9303 eMRTD, DG13, portrait, passive/chip authentication) and camera MRZ scan.

1.0.0 #

Initial release.

  • CccdNfcReader.readCard reads the Vietnamese citizen ID card (CCCD / Căn cước) chip over NFC, fully offline: PACE with BAC fallback, MRZ (DG1), portrait (DG2), Vietnamese personal data (DG13), passive authentication (data-group hashes, document signer signature, optional CSCA chain) and chip authentication.
  • CccdNfcReader.scanMrz opens an on-device camera scanner (Android: CameraX + ML Kit bundled model; iOS: AVFoundation + Vision) that reads the MRZ on the back of the card and returns a MrzScanResult with toReadCardRequest() - no manual entry. MrzScanOptions sets texts, timeout, consecutive-match stabilisation and the torch button.
  • CccdNfcReader.parseMrz runs the same validated MRZ parser (OCR correction + all four ICAO check digits) on OCR lines from the app's own OCR.
  • CccdNfcReader.nfcStatus, openNfcSettings (Android: NFC panel / settings so the user can switch NFC on; iOS: false), cancel and nativeVersion.
  • Progress callback (ReadProgress: step + percent) delivered while a read runs.
  • Typed, immutable models with redacted toString(); CccdReaderException with CccdErrorCode shared with the native SDKs (API contract v1.0), including cameraPermissionDenied, cameraUnavailable and cameraNotConfigured for the scanner.
  • Bundles CCCD NFC Reader Android SDK 1.0.0 (cccd-nfc-reader + cccd-nfc-reader-mrz in a local Maven repository, resolved automatically) and iOS SDK 1.0.0 (CCCDReader.xcframework, CCCDReaderMRZ.xcframework, OpenSSL.xcframework), usable with CocoaPods and Swift Package Manager.
  • Requirements: Android minSdk 23 (CameraX); iOS 15 with NSCameraUsageDescription in Info.plist (the plugin links the camera scanner). On Android, ML Kit adds the INTERNET and ACCESS_NETWORK_STATE permissions; the plugin itself makes no network calls.
0
likes
150
points
732
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Offline reader for the Vietnamese citizen ID card (CCCD): NFC chip (ICAO 9303 eMRTD, DG13, portrait, passive/chip authentication) and camera MRZ scan.

Homepage

Topics

#nfc #ekyc #identity #vietnam #emrtd

License

unknown (license)

Dependencies

flutter

More

Packages that depend on cccd_nfc_reader

Packages that implement cccd_nfc_reader