When the fallbackHosts client option is used in an android application the following exception is thrown by the java codec:
java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String[]
The underlying issue is that ably-java expects a fixed sized String[] but ably-flutter attempts to pass the fallback hosts as a dynamic ArrayList<String>.
When the
fallbackHosts
client option is used in an android application the following exception is thrown by the java codec:The underlying issue is that ably-java expects a fixed sized
String[]
but ably-flutter attempts to pass the fallback hosts as a dynamicArrayList<String>
.