batuhanoztrk / react-native-nfc-passport-reader

MIT License
2 stars 1 forks source link

How to read Citizen ID Card? #2

Open Nam-Anh-99 opened 4 months ago

Nam-Anh-99 commented 4 months ago

const startReading = () => { NfcPassportReader.startReading({ mrz: 'IDKEA0880214428231099031553<<08804346M2404343KEA<<<<<<<<<<<7KA<<EM<AN<<<<<<<<<<<<<<<<<<<', includeImages: false, }) .then((res) => { setTagDiscovered(false); setResult(res); }) .catch((e) => { setTagDiscovered(false); console.error(e.message); }); };

catch: [Error: File not found, CAPDU = 00A4020C02010B, RAPDU = 6A82 (SW = 0x6A82: FILE NOT FOUND)] How to read Citizen ID Card? :(

batuhanoztrk commented 4 months ago

Hello,

Thank you for reaching out and providing the details of your issue.

We have primarily tested the library with Turkish Republic Identity Cards. To better assist you, could you please let us know which country your identity card is from? This information will help us check the specific files and ensure compatibility.

Thank you for your understanding and cooperation. Looking forward to your response.

Best regards, Batuhan Öztürk