Handle NFC tap and RFID delegation from Human Phone. Covers NFC tag reading, contactless payment verification, and physical access card scenarios.
Use this when an app requires NFC (Near Field Communication) or RFID interaction that the emulator cannot perform.
request_human_auth(
capability: "nfc",
instruction: "Please tap your [card/tag/device] to read NFC data for [purpose].",
uiTemplate: {
allowTextAttachment: true,
allowFileAttachment: true,
title: "NFC / RFID Tap Required",
summary: "Tap your NFC card or tag and provide the result."
}
)
artifact_kind: text, value: "<nfc_data>"artifact_type: application/octet-stream or similarNFC data application depends heavily on the app's expected input:
shell("am start -a android.intent.action.VIEW -d '<url>'")NFC payment typically cannot be delegated — it requires the physical card/phone at the terminal. In this case: