ccid

pub version Build Example App

A Flutter plugin for reading and writing smart cards using the CCID protocol with PC/SC-like APIs.

Installation

Android

This plugin uses AGP 8.7, thus requires Gradle 8.7+ (which needs Java 17+ to run).

Linux / Windows

This plugin uses dart_pcsc, thus has a runtime dependency on PCSCLite to provide PC/SC APIs on Linux:

  • Debian / Ubuntu: sudo apt-get install pcscd libpcsclite1
  • RHEL / Fedora: sudo dnf install pcsc-lite

Should you encounter any permission problem, please check README.polkit from PCSCLite.

macOS / iOS

This plugin uses CryptoTokenKit on macOS, which is available since macOS 10.10 / iOS 13.0.

The com.apple.security.smartcard entitlement is required.