I'm using the nfc_manager package to scan my transportation card. I've found similar apps on the playstore that were able to get transaction history, card serial number and other details from the app. However, using the nfc_manager package, I've only been able to obtain isodep and nfcB data. Below is the printed outputs of the isodep and nfcb data.
{identifier: [123, 123,123,123], hiLayerResponse: [], historicalBytes: null, isExtendedLengthApduSupported: true, maxTransceiveLength: 12312, timeout: 123}
{identifier: [123,123,123,123], applicationData: [0, 0, 0, 0], maxTransceiveLength: 123, protocolInfo: [123,123,123]}
(the values were changed to 123 because I'm not sure if the data is sensitive) How do I go about obtaining data such as transportation history and all that from the data I have here? Or is that a limitation of the package?
here is the code used:
NfcManager.instance.startSession(onDiscovered: (NfcTag tag) async {
print(tag.data['isodep']);
print(tag.data['nfcb']);
IsoDep isoDep = IsoDep.from(tag);
print(isoDep.historicalBytes);
});
Thank you for your help!