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
I'm experiencing an issue with the react-nfc-manager library when attempting to write NDEF well-known text to a smart card via NFC. When I send APDU commands directly using a card reader, everything works as expected. However, when I try to write data to the smart card using NFC, the write operation takes approximately 1.5 seconds, resulting in a timeout error.
It appears that any operation taking longer than around 1 second triggers this timeout issue. This severely limits the functionality of the library when dealing with more complex or slower operations.
Steps to Reproduce:
Use the react-nfc-manager library to write an NDEF well-known text record to a smart card via NFC.
Observe the timeout error occurring when the write operation exceeds 1 second.
Expected Behavior:
The library should handle write operations that take longer than 1 second without timing out.
Actual Behavior:
The write operation times out if it takes longer than approximately 1 second.
Direct APDU commands via a card reader work without issue, suggesting that the problem is specific to the NFC communication handled by react-nfc-manager.
Is there a way to adjust the timeout settings or optimize the library to handle operations that take longer than 1 second? Any guidance on how to resolve this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I'm experiencing an issue with the react-nfc-manager library when attempting to write NDEF well-known text to a smart card via NFC. When I send APDU commands directly using a card reader, everything works as expected. However, when I try to write data to the smart card using NFC, the write operation takes approximately 1.5 seconds, resulting in a timeout error.
It appears that any operation taking longer than around 1 second triggers this timeout issue. This severely limits the functionality of the library when dealing with more complex or slower operations.
Steps to Reproduce:
Expected Behavior:
The library should handle write operations that take longer than 1 second without timing out.
Actual Behavior:
The write operation times out if it takes longer than approximately 1 second.
Environment:
Direct APDU commands via a card reader work without issue, suggesting that the problem is specific to the NFC communication handled by react-nfc-manager.
Is there a way to adjust the timeout settings or optimize the library to handle operations that take longer than 1 second? Any guidance on how to resolve this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered: