Open XDex opened 6 years ago
I'm sorry I don't know technical details about StrictMode. However, if it is an Android-specific issue, nv-websocket-client cannot implement a workaround for the issue internally (unless reflection is used).
WebSocketListener.onThreadCreated() is called between after a thread is created and before the thread's start() method is called. You may be able to write a workaround in the callback method.
it is not possible to do this because onThreadCreated is not called on the SocketRacer since it does not extend WebSocketThread but uses Thread directly
Running into the same issue as reported in OkHttp with Android O default StrictMode enabled (
StrictMode.enableDefaults()
)..