We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On a live activity channel
<MessageInput />
In both cases, they should be able to see the channel contents.
It seems like this is not possible and results in this message: "Error loading messages for this channel"
Steps to reproduce the behavior:
I've tried a few ways to switch the user from authenticated to anonymous:
Simple:
const logout = async () => { await chatClient?.disconnectUser(); await chatClient?.connectAnonymousUser(); };
Clear out everything:
if (!chatClient) throw new Error("No valid chat client found"); if (!channel) throw new Error("No valid channel found"); await channel?.stopWatching(); await chatClient.disconnectUser(); await chatClient.connectAnonymousUser(); await watchChannel(chatClient);
The code is roughly the same going from authed to non-authed or vice versa; I've only included converting to anonymous for brevity.
I would like the app to be able to seamlessly transition between an anonymous and authed state.
Expo SDK 51
<OverlayProvider value={{ style: getTheme(), }} > <ThemeProvider> <Chat client={chatClient} enableOfflineSupport={false}> <Channel channel={channel} deletedMessagesVisibilityType="never" SendMessageDisallowedIndicator={() => null} > <MessageList /> <MessageInput /> </Channel> </Chat> </ThemeProvider> </OverlayProvider>
package.json
{ "stream-chat-expo": "^5.31.1", }
react-native info output:
react-native info
CLI command not found
stream-chat-react-native (note: this is for expo, but likely occurs on
^5.31.1
e.g. iOS 17.5
e.g. iPhone 15 pro
Please note, that I am not calling connect multiple times. I think that rapidly disconnecting and re-connecting causes this error.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
On a live activity channel
<MessageInput />
will be available so they can comment<MessageInput />
will disappear.In both cases, they should be able to see the channel contents.
It seems like this is not possible and results in this message: "Error loading messages for this channel"
Steps to reproduce
Steps to reproduce the behavior:
I've tried a few ways to switch the user from authenticated to anonymous:
Simple:
Clear out everything:
The code is roughly the same going from authed to non-authed or vice versa; I've only included converting to anonymous for brevity.
Expected behavior
I would like the app to be able to seamlessly transition between an anonymous and authed state.
Project Related Information
Expo SDK 51
Customization
Offline support
Environment
Click To Expand
package.json
:react-native info
output:CLI command not found
stream-chat-react-native (note: this is for expo, but likely occurs on
stream-chat-react-native` too ) version you're using that has this issue:^5.31.1
e.g. iOS 17.5
e.g. iPhone 15 pro
Additional context
Screenshots
Please note, that I am not calling connect multiple times. I think that rapidly disconnecting and re-connecting causes this error.
The text was updated successfully, but these errors were encountered: