Answer the question
In order to leave comments, you need to log in
How to get public bank card details via nfc?
Hello everyone, there is a task to read the card number using nfc. We are
writing an application on React Native and there is such a library.
I read the documentation and realized that in order to get data on the card, you need to send an APDU request SELECT 2PAY.SYS.DDF01, threw in the following code:
try {
await NfcManager.requestTechnology([NfcTech.IsoDep]);
let resp = await NfcManager.transceive([
0x00, 0xa4, 0x04, 0x00, 0x31, 0x50, 0x41, 0x59, 0x2e, 0x53, 0x59, 0x53,
0x2e, 0x44, 0x44, 0x46, 0x30, 0x31,
]);
console.log('resp', resp);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question