ClientOptions.fallbackHosts broken on android
owenpearson opened this issue · 1 comments
owenpearson commented
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>
.
sync-by-unito commented
➤ Automation for Jira commented:
The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3649