[Problem/Question]
I am trying to filter a channel list by metadata and it’s not working. I have tried everything. Things like
metadataKey, metadataValues and metadataValueStartsWith are all listed in the documentation but It does not seem to work and type script is yelling at me. Has this feature been implemented
// If problem, please fill out the below. If question, please delete.
^3.1.3
// What version of the SDK are you using?
@sendbird/uikit-react
[Reproduction Steps]
eg
const [queries] = useState({
channelListQuery: {
includeEmpty: true,
metadataKey: 'path',
metadataValueStartsWith: 'hi',
},
})
<ChannelList
allowProfileEdit={false}
onChannelSelect={(channel) => setChannel(channel)}
queries={queries}
/>
The result is no filtering at all the the whole users list returns
[Frequency]
All the time
[Current impact]
I will have to use the sendbird API to filter a list and then pass this into the channel_urls prop. Less than ideal to be using the react SDK and the standard API at the same time
Can I get some help pleas