hi, I'm trying to use the library in iOS app (the app works in both, but only iOS has a problem).
I'm have a event listener but only in iOS do not work and don't has any error
others action like connection() and emit() works fine
Platforms
iOS
12.4
emulator
Versions
CLI: 5.4.0
Cross-platform modules: 5.4.0
Runtime(s): 5.4.0
Plugin: 3.3.1
My source code:
this.socketIO.on('message', (data) => {
console.log('received data from socket');
console.log(data);
});
and
receivedMessages$: Observable<Message> = fromEvent<Message>(this.socket, 'message');
receivedMessages$.subscribe(data => {
console.log('received data from socket');
console.log(data);
}
Event Listener don't working in iOS
hi, I'm trying to use the library in iOS app (the app works in both, but only iOS has a problem). I'm have a event listener but only in iOS do not work and don't has any error
others action like
connection()
andemit()
works finePlatforms
Versions
My source code:
and