Response-native-socketio receives an error in SocketIO connection only in iOS

this.socket = new SocketIO (' http://myserver.com { 000/' , {secure: true}); // <- the error is here this.socket.on ('connect', () => {this. socket.emit ('authentication', {token: this.state.valid, id_user: this.state.id});

undefined is not an object (evaluating this.sockets.initialize)

reaction-native: 0.42
macOS

Observation: Android works well

+4
source share

Source: https://habr.com/ru/post/1672920/


All Articles