I want show card number using NFC. But I only can get uid from nfc tag. I'm using nfc_manager package and my code like this :
void _tagRead() {
NfcManager.instance.startSession(onDiscovered: (NfcTag tag) async {
var _tag = tag.data["isodep"]["identifier"]
.map((e) => e.toRadixString(16).padLeft(2, '0'))
.join('');
NfcManager.instance.stopSession();
});
}
Dont understand what can I do with this id ?
So with iOS it is not possible to get any details as the docs iOS NFC it says
Apple want to keep interactions with NFC enabled bank cards to themselves.
While on Android it is technically possible but complicated and I've not seen anything doing it in flutter (though it should be possible).
You can send and receive the same C-APDU's and R-APDU's as native code used in these examples https://stackoverflow.com/a/34434136/2373819