Plugin.NFC icon indicating copy to clipboard operation
Plugin.NFC copied to clipboard

Additional steps for accessing ePassports

Open Sexadegen opened this issue 3 years ago • 3 comments

I am using the Nuget Plugin.NFC in a Xamarin.iOS app. I want to read data from EU and British passports. I have added the following to the info.plist

NFCReaderUsageDescription NFC tag to read NDEF messages into the application com.apple.developer.nfc.readersession.iso7816.select-identifiers A0000002471001 A0000002472001

and have NDEF and TAG set in the Entitlements.

I check

bool isAvailable = CrossNFC.Current.IsAvailable; bool isEnabled = CrossNFC.Current.IsEnabled;

and call

CrossNFC.Current.StartListening();

I can detect a tag in a passport, but I get a "Tag is not supported" message on screen and the only thing in the ITagInfo is an identifier.

Question: Is it possible to use this plugin to access the data in ePassports, and what extra steps would I need to take?

Sexadegen avatar Apr 06 '22 13:04 Sexadegen

OK. The more I dig the more I see how complicated it is to extract the data from the RFID is passports. I guess that's not considered to be part of this solution?

Sexadegen avatar Apr 06 '22 15:04 Sexadegen

@forzaphil that is correct. There is only a certain number of RFID tags that are supported by the hardware of iPhones and Android phones. Reading data from passport chips is not something that it is capable of doing.

saamerm avatar Apr 06 '22 16:04 saamerm