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

java.util.HashMap cannot be cast to io.ably.lib.types.Param #439

Closed jerinho closed 1 year ago

jerinho commented 2 years ago

Received this error java.lang.ClassCastException: java.util.HashMap cannot be cast to io.ably.lib.types.Param

from this code

ably.ClientOptions options = ably.ClientOptions(
  clientId : ...,
  authUrl : ...,
  authHeaders : {
    'Authorization' : ...
  },
);
ably.Realtime realtime = await ably.Realtime(options : options);

┆Issue is synchronized with this Jira Uncategorised by Unito