NFC Scan - Integration & Usage Guide

NFC Scan - Integration & Usage Guide

Prerequisites

Integration

  <key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key>
    <array>
      <string>A0000002471001</string>
      <string>A0000002472001</string>
      <string>00000000000000</string>
    </array>

Usage

To add NFC Scan module to the flow, simply:

  1. Add it to a IncdOnboardingFlowConfiguration:
   flowConfig.addNfcScan(showNFCSymbolConfirmationScreen: true/false, processNFCData: true/false)
  1. Add callback to your IncdOnboardingDelegate:
   func onNFCScanCompleted(_ result: NFCScanResult) {
       // process result
   }
Parameters for addNfcScan():
Returning result of the module is a 'NFCScanResult' struct which contains:
Possible values for NFCScanError: