You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I am trying to read an NFC and Write it back in android Samsung Galaxy M51. and tried in multiple other android phones as well. Same happens even in iOS devices.
While it works for ideal case when the user taps first time for reading and takes the tag away. Then brings the tag near again to Write it back.
In other case when the user keeps the phone on top of the NFC tag and then tries to write it to the tag while the tag is still under the phone touching it, then sometimes the data in the tag is getting clear and we are getting "Error: java.io.IOException" , or "unsupported tag api" or "Tag is not ndef" errors.
When this "Error: java.io.IOException" comes, the data from the NFC tag get cleared out.
### The issue is in NfcProxy.js in writeNdef method.
Hi I am trying to read an NFC and Write it back in android Samsung Galaxy M51. and tried in multiple other android phones as well. Same happens even in iOS devices.
While it works for ideal case when the user taps first time for reading and takes the tag away. Then brings the tag near again to Write it back.
In other case when the user keeps the phone on top of the NFC tag and then tries to write it to the tag while the tag is still under the phone touching it, then sometimes the data in the tag is getting clear and we are getting "Error: java.io.IOException" , or "unsupported tag api" or "Tag is not ndef" errors.
When this "Error: java.io.IOException" comes, the data from the NFC tag get cleared out.
### The issue is in NfcProxy.js in writeNdef method.
Please suggest on how to resolve this error.
Below is the code used:
The text was updated successfully, but these errors were encountered: