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
981 stars 325 forks source link

feat: listen to notification.mark_read and notification.mark_unread event and introduce improvements #2776

Closed khushal87 closed 2 weeks ago

khushal87 commented 2 weeks ago

The goal of the PR is to listen to the notification.mark_read and notification.mark_unread events and reflect the correct unread count on the Channel Preview UI. The code of the channel preview component is also improved as a part of the PR making it simpler and the event listeners are moved to a new hook useChannelPreviewData that returns the mute status, unread counts and the last message to display in the channel preview.

Stream-SDK-Bot commented 2 weeks ago

SDK Size

title develop branch diff status
js_bundle_size 451 KB 452 KB +628 B 🔴
stream-ci-bot commented 2 weeks ago

:tada: This PR is included in version 5.42.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: