flutter-nfc-manager icon indicating copy to clipboard operation
flutter-nfc-manager copied to clipboard

cachedMessage is missing sometimes.

Open chanjungkim opened this issue 2 years ago • 1 comments

Those tags have data but sometimes(10~20% possibility) gets empty.

{mifare: {identifier: [4, 194, 78, 234, 28, 21, 144], historicalBytes: [], mifareFamily: 2}, ndef: {isWritable: true, maxSize: 137}}
{ndef: {maxSize: 137, isWritable: true}, mifare: {identifier: [4, 64, 172, 170, 111, 111, 129], historicalBytes: [], mifareFamily: 2}}

It must be something like this:

{mifare: {identifier: [4, 196, 227, 130, 33, 104, 128], historicalBytes: [], mifareFamily: 2}, ndef: {cachedMessage: {records: [{typeNameFormat: 1, type: [85], identifier: [], payload: [4, 121, 111, 117, 116, 117, 98, 101, 46, 99, 111, 109]}]}, isWritable: true, maxSize: 137}}

How can I solve this issue? We provide empty tags too and the service is going wrong if not it's 100% trustworthy.

chanjungkim avatar Mar 13 '24 02:03 chanjungkim

I have the same issue. cachedMessage does sometimes not exist which make this package unreliable.

christofkost avatar Jul 10 '24 13:07 christofkost