[Problem/Question]
List of chats is not being updated when channelListQueryParams are changing. I’m using following query params:
const channelListQueryParams: ChannelListQueryParamsType = {
order: GroupChannelListOrder.LATEST_LAST_MESSAGE,
hiddenChannelFilter: ‘hidden_only’ / ‘unhidden_only’,
limit: 100,
};
And like you can see I’m switching hiddenChannelFilter between hidden and unhidden. However this doesn’t update chats list at all. This is how I’m using it:
<GroupChannelListFragment
onPressCreateChannel={navigateToGroupChannelCreateScreen}
onPressChannel={navigateToGroupChannelScreen}
// Render custom channel preview
renderGroupChannelPreview={(props) => {
return <CustomChannelPreview {…props} />;
}}
// Apply query parameters for channel list
channelListQueryParams={channelListQueryParams}
/>
It’s working on Chat SDK 4.12.10 but from version 4.13.0 it’s not working anymore, I’ve tried version up to 4.15.0.
[UIKit Version]
“@sendbird/chat”: “4.13.0”,+
“@sendbird/uikit-react-native”: “3.7.6”,
[Reproduction Steps]
- Create GroupChannelList with import { createGroupChannelListFragment } from ‘@sendbird/uikit-react-native’;
- Create channelListQueryParams like in example with possibility to change hiddenChannelFilter
- Change hiddenChannelFilter. List is not being updated.
[Frequency]
Every time
[Current impact]
Feature doesn’t works.