CoreNFC reads Chinese national ID card

Our function is to use CoreNFC to detect various NFC chips to obtain the unique ID in the chip. Under the iOS14.5 system, it is normal to read other cards. When reading the ID card of a Chinese mainland citizen, the unique ID obtained is empty and all 0. The details are shown in the following figure:

Since NFC reads the ID card of mainland Chinese citizens can only be used after iOS 14.5, I don't know if Apple did not open it, or what restrictions Apple has, it has been tangled for a long time.

With the same code, it is normal to read other NFC cards, as shown in the figure below:

Hope someone can help me

Hi linchenglong ,Use CoreNFC , How did you detect the ID card of a Chinese mainland citizen. I even can not detect any Tags about IDCard ,there is nothing delegate callback fires until the "NFCTagReaderSession" timeout, Do I need to fill some code around "ISO7816 application identifiers for NFC Tag Reader Session" in the info.plist ? many thanks! and If you are Chinese , Can we have a friendly communication in WeChat. and My WeChat: funnyboyle , Expect you !

Hi linchenglong ,Use CoreNFC , How did you detect the ID card of a Chinese mainland citizen. I even can not detect any Tags about IDCard ,there is nothing delegate callback fires until the "NFCTagReaderSession" timeout, Do I need to fill some code around "ISO7816 application identifiers for NFC Tag Reader Session" in the info.plist ? many thanks! and If you are Chinese , Can we have a friendly communication in WeChat. and My WeChat: funnyboyle , Expect you !

  1. You have to add iso7816 to your info plist to detect it.
  2. Chinese ID card date is encrypted, only the online decryption system from government can decrypt the data.
  3. For decryption service, I found one API from Tencent cloud: https://market.cloud.tencent.com/products/27182
  4. You should read data from iPhone, and then upload to the API to get encrypted ID, name, available time, etc.
CoreNFC reads Chinese national ID card
 
 
Q