@Tez while creating channels send bird is making duplicate channels for the same user, How to avoid duplicate channels
Hi @chinnababu
The reason the channel is created continuously when creating a channel with the same user is because the default value of the distinct option is set to false when creating a channel in UIKit.
See the IS_DISTINCT
argument in the link below.
Create a channel
So, in order to implement as you intended, you need to change the distinct
option to true when creating a channel.
Check it out and let me know if you have any questions.
Thank you!
@Tez Thanks for the reply , But I am not able overirde. create channel settings,
It will be good if you can share some sample code
@chinnababu
You can check in UIKit sample.
If you look at CreateChannel -> userList in CustomSample, you can see an example that inherits SBUCreateChannelViewController and uses it.
UIKit sample
Or, you can also simply set groupChannelParamsCreateBuilder
in SBUGlobalCustomParams
class and apply them.
I recommend this way first.
Check it out and let me know!