naderio / nativescript-socket.io

Fully-featured Socket.IO client implementation for NativeScript
The Unlicense
48 stars 21 forks source link

Event subscription never fires iOS #61

Open SergioZhydecky opened 5 years ago

SergioZhydecky commented 5 years ago
this.socket.on(event, (data) => {
      //do actions
 });

event does not fires on iOS, but fires on Android.

This is repository with simple project where it does not work. Pay attention! To check it out you have to have server side of sockets and change config object with sends to constructor when creates instance of socket service. https://github.com/SergioZhydecky/test-nativescript-socket.io