Closed gracejansen227 closed 1 year ago
any update on this?
I think NfcManager.unregisterTagEvent(); this line in finally block is not even useful. Just call cancelTechnologyRequest() is enough
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.
This issue was closed because it has been stalled for 5 days with no activity.
I am trying to make a testing app that will write to NFC chips and then be able to read that NFC tag (that I have written a hard coded URL to) and open the URL.
On read, I get
WARN Tag found {"id": "04A7545A215980", "ndefMessage": [{"id": [Array], "payload": [Array], "tnf": 1, "type": [Array]}], "tech": "mifare"} LOG [TypeError: undefined is not a function] WARN Possible Unhandled Promise Rejection (id: 1): Error: Not even registered Error: Not even registered
It seems to have the URL payload correctly though because I have tested it using an NFC app to the App Store and that app is able to read the tag I wrote using my code.
Here is my App.tsx:
And my writeDef.ts is:
I am using the lastest version of the package and was trying to follow this tutorial (though it is outdated):https://www.youtube.com/watch?v=Kx22B6OH3Oc&t=453s