Skip to Content
Platform.Ontology

Host card emulation (HCE)

Lets an app act as a contactless card or key that other readers tap.

Works without askingHardware and accessoriesNFCAndroid and iPhoneWhile you use itIn the background

In one line

Can act as a contactless card or key when you pick it as default

Lets an app act as a contactless card or key that other readers tap.

A phone that emulates a card can hold payment, transit or access credentials without the OS wallet. Opening it to apps changes who controls tap to pay.

What it can and can't do

What the user does: You choose the app in Settings under Tap and pay, then tap a reader

It can

  • Answer readers with a stored card, ticket or key
  • Hold payment, transit or access credentials without the system wallet
  • Run on Android with no Google approval

It cannot

  • Become the default payment app without you choosing it
  • Work on iPhone without Apple's entitlement
  • Replace Apple Pay as the default on iPhone outside the EU

How it differs between platforms: Android lets any app do this since 2013; iPhone began in the EU and reached some other countries from iOS 18.1.

On Android and iPhone

AndroidiPhone
StatusSupportedBehind a flag
First versionAndroid 4.4 (API 19)iOS 17.4
Permission or entitlementBIND_NFC_SERVICE, NFC (normal)com.apple.developer.nfc.hce; com.apple.developer.nfc.hce.iso18092.nfcf.systemcode
Protection levelnormalentitlement
How access is grantedinstallentitlement
What the user seesUser picks default payment app in Settings > Tap & payApple Pay stays default outside the EU; EU users can choose
How long it lastsUntil changedEntitlement scope per app
How to take it backSettings > Connected devices > NFC > Contactless paymentsRemove app; Settings > Wallet
Store policyPlay: payments apps follow Payments policyEntitlement limited to developers in the EEA, with a licensing agreement
APIHostApduService, CardEmulation, aid-group in apduservice.xmlCardSession (CoreNFC), NFCPresentmentIntentAssertion
NotesAndroid 10 can set the default in Settings; offhost secure element supported.EEA only at first; iOS 18.1 adds the NFC and SE platform outside the EU for some countries; scope for 2026 should be re-checked.

Data you get

What comes back: APDU exchange
Shape: event
How often: per tap

FieldTypeUnitRangePrecision
APDUbinarybytes255 data bytes (short APDU)raw

Technical limits

  • iOS needs an Apple entitlement, commercial agreement and fees
  • Android requires the user to pick the default payment app for payments AIDs

The story

What it is

Lets an app act as a contactless card or key that readers can tap.

For you

You hold your phone to a reader and the door opens or the bus lets you on. The app does this without the Wallet app opening. You can set which app answers in Settings.

For makers

A company can build a custom tap card for a loyalty scheme, transit or access control and skip the system wallet. It runs in software on Android with no approval. On iPhone it is limited to approved regions and developers.

Where you see it

TypeExampleApps
travelA city bus app holds a ticket you can tap at the gate.None named
enterpriseAn office badge app opens doors when you tap your phone.None named
paymentsA bank app sends a one time code to the shop's reader.None named
automotiveA car sharing app taps the car to unlock.None named
educationA student card app opens the library gate.None named
shoppingA loyalty app earns points with a tap at the till.None named
securityA hotel app holds a room key that expires after your stay.None named

Risks

  • Relay attacks
  • Cloned credentials
  • Default app confusion

Android and iPhone in short

  • Android: Android 10 lets you pick the default tap app in Settings, and it can use the phone's secure chip.
  • iPhone: iPhone first opened this in the EEA. iOS 18.1 added the NFC and secure element platform outside the EU for some countries. Scope for 2026 should be re-checked.

What the platform says

Good uses and abuse

Legitimate uses

  • Bank wallets
  • Transit passes
  • Car keys

Known abuse

  • Relay attacks
  • Credential cloning

Scores

ScoreValueMeaning
Sensitivity4 of 5How revealing the data is
Utility4 of 5How useful it is to honest apps
Friction3 of 5How much the user has to do
Fingerprint bits1Rough identifying entropy, when known

History

  • 2013-10, Android 4.4 (API 19): HCE introduced
  • 2024-03, iPhone iOS 17.4: HCE based contactless payments opened to apps in the EEA
  • 2024-10, iPhone iOS 18.1: NFC and Secure Element platform for in app contactless in several countries

Same idea on the web

  • Web NFC. Can scan NFC tags and save to them when your phone touches one

Sources

How well checked: Based on official documentation.

On this page