Hello, I’m using SendBird chat in my live Android app. I’m noticing a lot of occurrences of timeout error while loading the group channel list using following snippet (Kotlin).
val channelListQuery = GroupChannel.createMyGroupChannelListQuery()
channelListQuery.limit = 20
channelListQuery.isIncludeEmpty = false
channelListQuery.order = GroupChannelListQuery.Order.LATEST_LAST_MESSAGE
channelListQuery.next { channelList, e ->
if (e != null) {
Log.e("SendBird-Chat", "error: ${e.message}")
} else {
Log.i("SendBird-Chat", "channelList: $channelList")
}
}
I see that default timeout interval is 10 seconds. I didn’t find a way, in SDK, to increase the timeout interval. What’s the best way to avoid/reduce this timeout error.