revtel / react-native-nfc-manager

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

NFC Error:403 on new NFC chips #298

Closed jackgisel closed 4 years ago

jackgisel commented 4 years ago

I feel like I am having a simple issue, but I can figure it out! I am getting a 403 error on trying to write to new NFC chips.

V2.1.9

ps: thanks so much for your long support of this package

jackgisel commented 4 years ago

Was able to fix this. My issue was dealing the NDEF. I had to use custom commands.

crobinson42 commented 4 years ago

@jackgisel how did you solve this with custom commands? Do you have a snippet to share?

whitedogg13 commented 3 years ago

Some updates. I have made a naive format example, please check here: https://github.com/revtel/react-native-nfc-rewriter/tree/naive-ndef-format

However, this is actually a naive approach, because we omit some important control message (ex: tag lock information) before actual NDEF TLV.

Hope that helps!