We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ebd69 commit 071812cCopy full SHA for 071812c
package/src/components/Chat/Chat.tsx
@@ -187,8 +187,11 @@ const ChatWithContext = <
187
188
useEffect(() => {
189
if (client) {
190
+ const sdkName = (SDK ? SDK.replace('stream-chat-', '') : 'react-native') as
191
+ | 'react-native'
192
+ | 'expo';
193
client.sdkIdentifier = {
- name: SDK.replace('stream-chat-', '') as 'react-native' | 'expo',
194
+ name: sdkName,
195
version,
196
};
197
client.deviceIdentifier = { os: `${Platform.OS} ${Platform.Version}` };
0 commit comments