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
977 stars 326 forks source link

fix: remove nin and ne operator usage in the SDK and the sample app #2672

Closed khushal87 closed 2 months ago

khushal87 commented 2 months ago

๐ŸŽฏ Goal

The $ nin and the $ne operators cause bad performance on the backend, and they will be deprecated (and eventually removed). We should also start removing them from the SDKs and the sample app and not advocate integrators to use it.

A few simplifications around the query users filter, and the case where the channel state members are less than 100 are also done in this PR.

Few other fixes in the PR:

๐Ÿ›  Implementation details

๐ŸŽจ UI Changes

iOS
Before After
Android
Before After

๐Ÿงช Testing

โ˜‘๏ธ Checklist

Stream-SDK-Bot commented 2 months ago

SDK Size

title develop branch diff status
js_bundle_size 438.708984375 KB 442 KB +3472 B ๐Ÿ”ด
stream-ci-bot commented 2 months ago

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

The release is available on:

Your semantic-release bot :package::rocket: