GetStream / stream-chat-react-native

💬 React-Native Chat SDK ➜ Stream Chat. Includes a tutorial on building your own chat app experience using React-Native, React-Navigation and Stream
https://getstream.io/chat/sdk/react-native/
Other
960 stars 321 forks source link

[🐛] User name in typing indicator is incorrect #2684

Closed neopit closed 1 week ago

neopit commented 1 week ago

Issue

In a group of >3 users, when a user is typing then on the other device the name in the typing indicator is not displaying the same name

Steps to reproduce

You need 3 different users

1- On one device log in as 'User 1' 2- On another device log in as 'User 2' 3 - On another device log in as 'User 3' 4 - From a device navigate to messaging and create a group message with User 1, User 2 and User 3. 5 - Start typing as User 1 or User 2, and observe that the name of the user typing (in TYPING INDCATOR) is not consistent on the other devices

Expected behavior

In a group when a user is typing then on all the other devices of other people, we need to see the name of the user who is currently typing (and no random name)

Project Related Information

Customization

N/A

Offline support

N/A

Environment

N/A

package.json:

# N/A

react-native info output:

N/A

Additional context

N/A

Screenshots

See in the video that when a user is typing, in some cases, the typing indicator on the other device does not show the same name as the user who is typing! In the video we create a group and use 3 simulators and a web version.

https://github.com/user-attachments/assets/e8dd22ff-4d88-42ef-9503-f336afd60fd2

neopit commented 1 week ago

Actually it is another issue when we override the Stream keys into our code.