[Problem]
// Detailed description of issue.
When using SendbirdApp and creating a new group channel with 2 users, the channel doesn’t appear in channel list or is selected automatically. This is happend since yesterday.
// If problem, please fill out the below. If question, please delete.
[UIKit Version]“^3.9.2”
// What version of the SDK are you using?4.10.5
[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets. Channel creation: const initSendbirdSession = useCallback(async () => {
try {
setLoading(true);
await sb.connect(user?.userData?.sub, user?.userTokens?.accessToken);
const [, unreadedMessages] = await Promise.all([
sb.updateCurrentUserInfo({
nickname: user?.userData?.name,
profileUrl: user?.userData?.picture,
}),
sb.groupChannel.getTotalUnreadMessageCount(),
]);
if (initChat) {
const createChannelParams = {
isDistinct: false,
invitedUserIds: [user?.userData?.sub, initChat],
};
await sb.groupChannel.createChannel(createChannelParams);
}
setUnreadedMessagesCount(unreadedMessages);
} catch (err) {
sb.disconnect();
setError(err);
console.error(err);
} finally {
setLoading(false);
}
}, [
user?.userData?.sub,
user?.userData?.name,
user?.userData?.picture,
user?.userTokens?.accessToken,
initChat,
]);
useEffect(() => {
initSendbirdSession();
return () => {
sb.disconnect();
};
}, [initSendbirdSession]);
chat use:
<SendbirdChat breakpoint=‘744px’ {…sendbirdProviderProps} />
<SendbirdChat breakpoint=‘744px’ {…sendbirdProviderProps} />
uikit import: const SendbirdChat = dynamic(() => import(‘@sendbird/uikit-react/App’), {
ssr: false,
});
I’m using next 13.
[Frequency]
// How frequently is this issue occurring?
Everyday. I cannot use the app
[Current impact]
// How is this currently impacting your implementation? High impact