@ramonpicoplay it accepts NSData that contains dictionary form of group channel. We do not provide public initializer at this moment. Are you trying to mock for unit test?
Which String encoding do you use?
I was trying do reverse engineering from groupChannel.serialize() method. But when you try to deserialize that data into a string like String(data: groupChannelData, encoding: .utf8) it retrieves nil.
I’ve tried some other encodings bot none of them could give me a legible string.
@ramonpicoplay hey sorry for late response. I came back to the states and been quite busy to handle other tasks. I think I can talk with my team regards to opening initWithDictionary methods to public if you really need this.
@Woo Could you please share an example of how we can use initWithDictionary: to Mock SBDGroupChannel? I couldn’t found initWithDictionary: for SBDGroupChannel.
I am using SDK version 3.0.226. I couldn’t found the initWithDictionary constructor for SBDGroupChannel. I have checked SBDGroupChannel Doc but couldn’t found any. Could you please share an example of how we can use initWithDictionary: to Mock SBDGroupChannel?