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 use nodejs as server,when I call emit('change',{name:'hj',age:23}); is ok, client can get the obj,
but when I call emit('change',JSON.stringify({name:'hj',age:23})); I get always get null.
the way solved the problem.
change the code below the file:(the red code is add)
.../node_modules/react-native-socketio/android/src/main/java/com/gcrabtree/rctsocketio/SocketIoJSONUtil.java
The text was updated successfully, but these errors were encountered:
I use nodejs as server,when I call emit('change',{name:'hj',age:23}); is ok, client can get the obj,

but when I call emit('change',JSON.stringify({name:'hj',age:23})); I get always get null.
the way solved the problem.
change the code below the file:(the red code is add)
.../node_modules/react-native-socketio/android/src/main/java/com/gcrabtree/rctsocketio/SocketIoJSONUtil.java
The text was updated successfully, but these errors were encountered: