Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we emulate NFC cards in iOS 13?

Tags:

ios

nfc

hce

Apple just announced new NFC Core API to public.

Here is what they said.

Core NFC

With Core NFC framework, your apps can now support tag writing, including writing to NDEF formatted tags. The framework also provides supports for reading and writing tags using native protocols such as ISO 7816, MIFARE, ISO 15693, and FeliCa. For more information, see the Core NFC framework documentation.

https://developer.apple.com/ios/whats-new/

So, now we have write and read API, and I read all documentation about Core NFC, but I couldn't find about card emulation.

Does this mean we can emulate the card like Android HCE? If yes, what API I have to use?

like image 426
Pemassi Avatar asked Jun 04 '19 08:06

Pemassi


2 Answers

Apple does provide HCE, however it is under Apply Pay, using Apple Wallet, and requires a special entitlement and certificate you have to request from Apple.

The Wallet app on iPhone, iPod touch, and Apple Watch allows users to easily manage payment cards, boarding passes, tickets, gift cards, and other passes. Wallet is time and location enabled, so passes can be configured to display on the user’s device at the appropriate moment...

Near Field Communication

Passes can work with Near Field Communication (NFC) readers for contactless redemption. Users hold their device near a reader with contactless symbol to use a pass, with no need for a barcode. If you’re developing an NFC-enabled pass to use with Apple Pay, you’ll need to request an NFC certificate.

(Source: https://developer.apple.com/wallet/get-started/ )

From the certificate request page we learn the following:

NFC Certificate Request

Thank you for your interest in developing an NFC-enabled pass to use with Apple Pay. Before we provide an NFC Certificate, we need some additional information about your company and how you propose to use NFC with your pass in Wallet.

like image 183
Adam Davis Avatar answered Sep 16 '22 12:09

Adam Davis


Also couldn't find any sign of HCE support in iOS 13 Core NFC and this really isn't a surprise. Supporting HCE would make it easier for payment companies to implement alternatives to Apple Pay, which Apple certainly will want to prevent.

like image 29
MarkusM Avatar answered Sep 19 '22 12:09

MarkusM