Closed danielcowleypnp closed 1 year ago
Hey @danielcowleypnp, thank you for your request. Can you reproduce the issue with this demo app?
Thank you for the reply @robingenz after testing with the demo app it does work as expected. Which suggests this isn't an issue with the plugin rather my app code which is vanilla javascript using the methods provided by the documentation.
Alright, in this case i am closing this issue. However, I would still like to help you troubleshoot. Feel free to provide a Minimal, Reproducible Example using this template in a public GitHub repository so I can take a closer look.
Plugin version: 5.0.2
Platform(s): iOS/Android
Current behavior: When writing with both iOS and Android it is returning the following errors: iOS: Tag is not connected Android(First write is fine any subsequent writes give this error): An unknown error has occurred.
Expected behavior: It should be writing the NDEF text record I am sending to the device. The devices i am using to test with do return a record after the write which the phonegap-nfc plugin before switching to this plugin one did return the following is an example of the text record been written and the expected result based on the phonegap-nfc plugins previous functionality
which would result in the following response from the tag
Steps to reproduce: I Get the errors from just using the sample code from the readme i just scan the tag after initiating a session
Related code:
Other information: the tags i am using are ISO7816/ISO14443 following the NFC Forum Type 4 specification with the communication protocols: ISO/IEC 1443 Type A NFC Data Exchange Format - NDEF (Record type TEXT)
Capacitor doctor: