stream-chat-swift
stream-chat-swift copied to clipboard
Add channel ownCapability variable in ChannelDetailPayload
What are you trying to achieve?
- Need to access channel
own_capabilitiesinChannelDetailPayload - Please add
capabilityvariable in ChannelDetailPayload for us to access.
GetStream Environment
GetStream Chat version: 4.17.0 GetStream Chat frameworks: StreamChat, StreamChatUI iOS version: 15.5 Swift version: 5 Xcode version: 13.4.1 Device: iPhone-13
Additional context
Hi @ajay-simform!
This is a feature currently missing from the iOS SDK. The iOS SDK is still relying on the channel.config. If for some reason the channel.config is not enough for you, you can still access the capabilities in the extraData field. Let us know if that unblocks you.
We will let you know once we release a new version with the capabilities implemented. Keep in mind, if you use the own_capabilities from extra data right now, once we officially release this feature, that won't be available anymore in the extraData field.
Best, Nuno
Hi!
The issue has been fixed in the 4.22.0 release! 🚀
Thank you for your patient!
Best, Nuno