revtel / react-native-nfc-manager

React Native NFC module for Android & iOS
MIT License
1.39k stars 317 forks source link

how to read data returned from transceive ? #705

Closed nickticket2u closed 1 month ago

nickticket2u commented 7 months ago

This is not really an issue, so I wish to apologise in advance. I've been trying to seek answer in reddit/stackoverflow/fb without anyone answering.

(ntag213) I use the read command 0x30 and followed by page address (eg 0x60)

on IOS (sendMifareCommandIOS), it returns 16 byte array when I display the response

but on android (transceive) , it displays "[Function Anonymous]"

does anyone know how do I actually read the data on android ?

any help is greatly appreciated

pke commented 5 months ago

sendMifareCommandIOS is, as the name suggests, not available on Android and it should actually crash, when you try to invoke it. You have to use transceive on Android I am afraid.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 5 days with no activity.