Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not support flutter web. #25

Open
lulumeimei opened this issue Mar 9, 2021 · 4 comments
Open

Does not support flutter web. #25

lulumeimei opened this issue Mar 9, 2021 · 4 comments

Comments

@lulumeimei
Copy link

WebSocket connection to ws://x.x.x.x/socket/websocket?vsn=2.0.0&user=lobby failed!: Unsupported operation: Platform._version

@mfeckie
Copy link
Owner

mfeckie commented Mar 10, 2021

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
Copy link
Author

lulumeimei commented Mar 10, 2021

i think this issue related to #42375, #39998 in flutter repo and there's no solution yet.

flutter/flutter#42375
flutter/flutter#39998

@redDwarf03
Copy link

redDwarf03 commented Mar 23, 2022

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.dartfile or something like that ?

I'm sorry but my skills are not sufficient to send a PR...

@allenwyma
Copy link

@mfeckie did you want to check out #34?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants