stream-chat 8.0.0 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -101,6 +101,39 @@ await channel.sendReaction(message.id, { type: 'love', user: { id: 'vishal-1' }
101
101
 
102
102
  Custom types provided when initializing the client will carry through to all client returns and provide intellisense to queries.
103
103
 
104
+ ## 🔗 (Optional) Development Setup in Combination with our SDKs
105
+
106
+ ### Connect to [Stream Chat React Native SDK](https://github.com/GetStream/stream-chat-react-native)
107
+
108
+ Run in the root of this repo
109
+
110
+ ```shell
111
+ yarn link
112
+ ```
113
+
114
+ Run in the root of one of the example apps (SampleApp/TypeScriptMessaging) in the `stream-chat-react-native` repo
115
+
116
+ ```shell
117
+ yarn link stream-chat
118
+ yarn start
119
+ ```
120
+
121
+ Open `metro.config.js` file and set value for watchFolders as
122
+
123
+ ```javascript
124
+ module.exports = {
125
+ ...
126
+ watchFolders: [projectRoot].concat(alternateRoots).concat(['{{CHANGE_TO_THE_PATH_TO_YOUR_PROJECT}}/stream-chat-js'])
127
+ };
128
+ ```
129
+
130
+ Make sure to replace `{{CHANGE_TO_THE_PATH_TO_YOUR_PROJECT}}` with the correct path for stream-chat-js folder as per your directory structure
131
+ Run in the root of this repo
132
+
133
+ ```shell
134
+ yarn start
135
+ ```
136
+
104
137
  ## 📚 More code examples
105
138
 
106
139
  Head over to [docs/typescript.md](./docs/typescript.md) for more examples.