I’m attempting to persist SendBird Group Channels to redux store which requires the objects to be serializable.
I’ve created a test function which simply serializes, and immediately deserializes a Group Channel
const x = channel.serialize();
console.log(sb.GroupChannel.buildFromSerializedData(x));
Running this throws the following error
TypeError: Object is not a constructor (evaluating 'new i')]
- node_modules/sendbird/SendBird.min.js:6:205050 in value
It’s unbelievable that this isn’t automatically tested as part of each release, and it doesn’t help that the github/npm source only contains minified JavaScript, so I can’t even help identify root cause. This is a technical deal blocker for our team use the SendBird platform.