For the complete documentation index, see llms.txt. This page is also available as Markdown.

NFC Capture

This component is responsible for reading the NFC of identity documents and passports.

Its main processes are:

  • Internal management of the NFC sensor.

  • Permission management.

  • Document analysis.

  • Progress analysis.

  • Assistant in the reading processes.

  • Return all possible information to be read

  • Return images when they are available for reading

Dependencies

Flutter:

dependencies:
  fphi_sdkmobile_nfc:
    hosted:
      name: fphi_sdkmobile_nfc
      url: https://facephicorp.jfrog.io/artifactory/api/pub/pub-pro-fphi/
    version: ^<version>

Android - Gradle:

iOS - CocoaPods:

Method startNfcComponent

Once the SDK has been initialized and a new operation has been created, the component can be launched. Any of its controllers can be used to execute its functionality.

Launching the NFC reader:

Basic configuration

To launch the current component, an object must be created NfcConfiguration which will be the configuration of the component controller.

The basic configuration required for it is as follows:

Advanced component configuration

Below are all the fields that are part of this class.

NFC Configuration

Receiving the result

The launch will return the information in NfcResult. Being able to distinguish between a successful and an unsuccessful launch:

Below are all the fields that are part of this class.

NFC Result

Last updated