HomeX-It / pusher-websocket-flutter

An unofficial Flutter plugin that wraps pusher-websocket-java on Android and pusher-websocket-swift on iOS
MIT License
30 stars 23 forks source link

Support Flutter Web #21

Open josancamon19 opened 4 years ago

josancamon19 commented 4 years ago

The following code is supposed to works for the initialization of pusher Works in Android and iOS

 await Pusher.init( "KEY", PusherOptions(cluster: "-",), enableLogging: true);

With flutter web this initialization code is even unable to initiate, no errors apparently, just the line is never completed and the code gets stopped.

MisterJimson commented 4 years ago

This plugin does not support Flutter web, its a wrapper around the iOS and Android SDKs

josancamon19 commented 4 years ago

Yep, that's what I found in the docs, the thing is that in the pub page says web supported, so that confused me a lot. I'll be waiting for the flutter support. Screen Shot 2020-06-01 at 4 04 39 PM