Skip to content

Specifications

The NFC SDK reads the contactless chip of ICAO 9303 identity documents (ID cards, residence permits, e-passports). The following permissions are required for the SDK to function correctly. The SDK declares them in its own manifest, so they are merged into your app's manifest automatically:

  • NFC (android.permission.NFC): Required to read the chip of the document. It is a normal permission: the user is not asked to grant it.
  • Internet (android.permission.INTERNET): Declared by the SDK to load the images set with a URL in medias. It is not used to read or verify the document: the reading and the verification happen on the device.

No camera or other permission is required.

Requirements

  • The SDK is compatible with Android 10 (API level 29) and later.
  • The SDK requires a device with an NFC reader. If the device has none, the SDK closes right away with nfcUnavailable without showing any screen. If the device has one but it is switched off, the SDK shows a screen that takes the user to the device settings to turn it on.
  • To make Google Play offer your app only to devices with NFC, declare the feature in your manifest. The SDK does not declare it, because it is the host app that decides whether NFC is mandatory:
    <uses-feature android:name="android.hardware.nfc" android:required="true" />
    
  • The SDK is integrated using the provided .aar libraries. See Installation.
  • The reading and the authenticity checks run on the device. No connection to the Veridas servers is needed to read a document.
  • The signer of each document is verified against a CSCA master list bundled in the SDK.

Devices

Chip readers differ between manufacturers, in the position of the antenna and in its sensitivity, so test the documents and the devices your users will use before going to production. See the UX Recommendations to guide the user.

Compatibility

The NFC SDK for Android is developed and verified as a native Android SDK distributed as standard .aar libraries. This is the recommended integration path for applications built with Views or Jetpack Compose.

If your product uses a hybrid or cross-platform stack, the recommended approach is still to present the native Android SDK from the Android layer so you retain the same capture quality, permission handling, and behavior as a fully native app.