ably / ably-flutter

A wrapper around our Cocoa and Java client library SDKs, providing iOS and Android support for those using Flutter and Dart.
https://ably.com/download
Apache License 2.0
60 stars 16 forks source link

Does it work for flutter web #476

Closed microcoder-py closed 1 year ago

microcoder-py commented 1 year ago

Tried using it for flutter web, keeps throwing errors

    final clientOptions = ably.ClientOptions(key: 'api key');

// Use ClientOptions to create Realtime or REST instance
    ably.Realtime realtime = ably.Realtime(options: clientOptions);

    ably.RealtimeChannel channel = realtime.channels.get('channelname');

    StreamSubscription<ably.Message> subscription =
    channel
        .subscribe()
        .listen((ably.Message message) {
      print("Got a message");
    });
sync-by-unito[bot] commented 1 year ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3838

sacOO7 commented 1 year ago

@microcoder-py current SDK doesn't support web : (

sacOO7 commented 1 year ago

You can check #95

sacOO7 commented 1 year ago

Closing the issue in the interest of duplication. You can post web-specific requirement here https://github.com/ably/ably-flutter/issues/95