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
@OverRide
void initState() {
super.initState();
_webSocket = IOWebSocketChannel.connect("ws://xxxxxx");
_webSocket!.stream.listen((data){
debugPrint(data);
}, onError: (e){
WebSocketChannelException ex = e;
debugPrint('---ex------${ex.message}');
}, onDone: (){
//IOS trigger has a delay of more than a few minutes
//Android everything is ok
debugPrint("2222");
});
}
The text was updated successfully, but these errors were encountered:
@OverRide
void initState() {
super.initState();
_webSocket = IOWebSocketChannel.connect("ws://xxxxxx");
_webSocket!.stream.listen((data){
debugPrint(data);
}, onError: (e){
WebSocketChannelException ex = e;
debugPrint('---ex------${ex.message}');
}, onDone: (){
//IOS trigger has a delay of more than a few minutes
//Android everything is ok
debugPrint("2222");
});
}
The text was updated successfully, but these errors were encountered: