Does not support flutter web.
Opened this issue · 4 comments
lulumeimei commented
WebSocket connection to ws://x.x.x.x/socket/websocket?vsn=2.0.0&user=lobby failed!: Unsupported operation: Platform._version
mfeckie commented
Do you have any ideas about what would be needed to support flutter web? I'm not currently doing any active Flutter work, so am not up to date with what's going on in the ecosystem
lulumeimei commented
i think this issue related to #42375, #39998 in flutter repo and there's no solution yet.
redDwarf03 commented
excuse me but why don't you use
export 'src/phoenix_connection.dart'
if (dart.library.html) 'src/phoenix_html_connection.dart'
if (dart.library.io) 'src/phoenix_io_connection.dart';
in lib/phoenix_wings.dart
file or something like that ?
I'm sorry but my skills are not sufficient to send a PR...