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

NFC Capture

This component is responsible for reading NFC from 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 of all possible information to read

  • Return of images when they are available for reading

Dependencies

React:

npm install @facephi/sdk-nfc-react-native@<version>

Android - Gradle:

implementation "com.facephi.androidsdk:nfc_component:$version"

iOS - CocoaPods:

s.dependency 'FPHISDKNFCComponent', '~> $version'

nfc method

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

NFC reader launch:

Basic configuration

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

The basic configuration needed for this is as follows:

Advanced component configuration

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

NFC Configuration

Result reception

The launch will return the information in the format NfcResult. It being possible to distinguish between a successful launch and an unsuccessful one:

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

NFC Result

Last updated