-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot convert argument of type class java.net.SocketException #39
Comments
@preduseldavid 👋👋👋. Could you provide more info about your environment? (RN version, library version, OS, etc.) Could you also provide the socket configuration with some code for context? |
The current version (just upgraded RN from 0.61.5 a few days ago - the bug was saw on RN 0.61.5) "react-native-tcp-socket": "^3.4.0" - I haven't tested it yet on this newer version (3.4.1) |
Thanks for the info, I will check it out! |
and this is how I send a message:
|
@preduseldavid, thanks. I found the issue! It is related to the callback exception handling when writing on the socket. I will release a fix ASAP. |
## [3.4.2](v3.4.1...v3.4.2) (2020-04-06) ### Bug Fixes * Fix write() callback invoking IOException objects ([f07ee07](f07ee07)), closes [#39](#39)
🎉 This issue has been resolved in version 3.4.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@preduseldavid, I have released a fix that may resolve your issue 🎉. If the problem still persists, feel free to reopen this issue. Looking at the root cause of the problem, the error |
Description
Sometimes I get this error: Cannot convert argument of type class java.net.SocketException. I cannot reproduce it because sometimes appears, sometimes not... most of the time it doesn't appear
The text was updated successfully, but these errors were encountered: