Open josera21 opened 6 years ago
Hey @josera21!
Unfortunately the error handling in the library is not that sophisticated and some errors don't get reported too clearly.. One case where the exceptions happen is that if the tag is moved away before or while the read is still ongoing. Another option is that page with that page number is not available (doesn't exist or is protected with PIN code).
Sorry but there's not much I can help with these details.
Ok @RoopeHakulinen thank you for respond, actually the library works fine with a project on Monaca CLI but with Cordova I seem this error.
Hi, when I use window.mifare.read(4, (response) => alert(response.data), err => alert(
Reading failed because ${err}
));Is show me this error
Error: java.lang.exeption