stream-chat-react-native
stream-chat-react-native copied to clipboard
Offline Channels Not Displaying Despite Being Logged in Console with GetStream SDK
I am building a chat application using the GetStream SDK as well as react native expo and wanted to implement offline support for my application. I followed the documentation, but I am encountering an error when loading channels offline. I have also checked by logging the channels in the console; they are being printed offline but not displaying in the UI. Could you please let me know if I have missed anything?
Ref Doc:
- https://getstream.io/chat/docs/sdk/reactnative/basics/offline-support/ Error:

Failed to get channels from database: [TypeError: Cannot read property 'length' of undefined]
at ChannelList (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:328346:38)
at ActiveChannelsProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:314967:24)
at ChannelsStateProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:314864:24)
at ThemeProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:170316:25)
at TranslationProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:231261:24)
at ChatProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:173831:24)
at ChatWithContext (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:331585:25)
at Chat (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:331741:68)
at ImageGalleryProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:198620:24)
at AttachmentPickerProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:200730:24)
at MessageOverlayProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:231325:24)
at TranslationProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:231261:24)
at OverlayProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:231572:54)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at GestureHandlerRootView (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:263205:21)
at GetStreamChatComponent (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:375373:24)
at ChatComponent (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:406374:27)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at ThemeProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:148913:38)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at Portal.Host (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:399772:36)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at SafeAreaProviderCompat (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:405103:24)
at PaperProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:404990:37)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at MessageScreen (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:404769:82)
at Suspense
at Route (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135508:24)
at Route(MessageScreen) (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135883:24)
at StaticContainer (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129566:17)
at EnsureSingleNavigator (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:126108:24)
at SceneView (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129453:22)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at DebugContainer (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135051:36)
at MaybeNestedStack (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:131186:23)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at RNSScreen
at Animated(Anonymous) (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:100925:62)
at Suspender (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134040:22)
at Suspense
at Freeze (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134054:23)
at DelayedFreeze (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134000:22)
at InnerScreen (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:133796:36)
at Screen (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:133955:36)
at SceneView (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:131246:22)
at Suspender (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134040:22)
at Suspense
at Freeze (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134054:23)
at DelayedFreeze (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134000:22)
at RNSScreenStack
at ScreenStack (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134371:25)
at NativeStackViewInner (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:131489:22)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at SafeAreaProviderCompat (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:133240:24)
at NativeStackView
at PreventRemoveProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:128194:25)
at NavigationContent (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129215:22)
at anonymous (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129231:27)
at NativeStackNavigator (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:123971:18)
at anonymous (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135397:38)
at ModulesLayout
at Suspense
at Route (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135508:24)
at Route(messages) (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135883:24)
at StaticContainer (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129566:17)
at EnsureSingleNavigator (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:126108:24)
at SceneView (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129453:22)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at Background (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:131784:21)
at Screen (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:133373:71)
at RNSScreen
at Animated(Anonymous) (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:100925:62)
at Suspender (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134040:22)
at Suspense
at Freeze (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134054:23)
at DelayedFreeze (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134000:22)
at InnerScreen (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:133796:36)
at Screen (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:133955:36)
at MaybeScreen (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:138016:24)
at RNSScreenNavigationContainer
at ScreenContainer (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134287:31)
at MaybeScreenContainer (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:137994:23)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at SafeAreaProviderCompat (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:133240:24)
at BottomTabView (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:136360:30)
at PreventRemoveProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:128194:25)
at NavigationContent (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129215:22)
at anonymous (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129231:27)
at BottomTabNavigator (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:136265:18)
at anonymous (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135397:38)
at TabLayout (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:404304:60)
at Suspense
at Route (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135508:24)
at Route((tabs)) (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135883:24)
at StaticContainer (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129566:17)
at EnsureSingleNavigator (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:126108:24)
at SceneView (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129453:22)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at DebugContainer (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135051:36)
at MaybeNestedStack (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:131186:23)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at RNSScreen
at Animated(Anonymous) (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:100925:62)
at Suspender (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134040:22)
at Suspense
at Freeze (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134054:23)
at DelayedFreeze (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134000:22)
at InnerScreen (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:133796:36)
at Screen (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:133955:36)
at SceneView (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:131246:22)
at Suspender (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134040:22)
at Suspense
at Freeze (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134054:23)
at DelayedFreeze (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134000:22)
at RNSScreenStack
at ScreenStack (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:134371:25)
at NativeStackViewInner (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:131489:22)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at SafeAreaProviderCompat (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:133240:24)
at NativeStackView
at PreventRemoveProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:128194:25)
at NavigationContent (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129215:22)
at anonymous (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:129231:27)
at NativeStackNavigator (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:123971:18)
at anonymous (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135397:38)
at StackScreens
at SelectedChannelProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:374393:24)
at SelectedDataProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:376621:24)
at ApiDataProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:396544:24)
at UserAuthProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:372109:24)
at UserNetworkProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:371611:24)
at ThemeProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:148913:38)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at Portal.Host (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:399772:36)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at SafeAreaProviderCompat (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:405103:24)
at PaperProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:404990:37)
at RootLayoutNav
at RootLayout (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:406723:44)
at Try (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:138164:22)
at Suspense
at Route (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135508:24)
at Route() (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:135883:24)
at RNCSafeAreaProvider
at SafeAreaProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:132227:24)
at wrapper (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:143935:27)
at EnsureSingleNavigator (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:126108:24)
at BaseNavigationContainer (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:124604:28)
at ThemeProvider (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:130586:21)
at NavigationContainerInner (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:144392:26)
at ContextNavigator (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:143970:24)
at ExpoRoot (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:143926:28)
at App
at ErrorToastContainer (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:408541:24)
at ErrorOverlay
at withDevTools(ErrorOverlay) (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:408044:27)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at RCTView
at View (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40771:43)
at AppContainer (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:40614:25)
at main(RootComponent) (http://localhost:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&lazy=true&minify=false&inlineSourceMap=false&modulesOnly=false&runModule=true&app=com.buildpeer.peer&transform.routerRoot=src%2Fapp&transform.engine=hermes&transform.bytecode=true:118950:28)
Code:
Connect To Client
public async connectToGetStream(user: any): Promise<void> {
this._client = StreamChat.getInstance(APIKey);
console.log("User in StreamClass:", user.firstName);
let token: string;
try {
const streamToken = await AsyncStorage.getItem(
asyncKeyNames.STREAMACCESSTOKEN
);
if (!streamToken) {
token = await this.getStreamToken(user);
} else {
token = streamToken;
}
const name = createFullName(user.firstName, user.lastName);
console.log("Took token for user:", name);
await this._client.connectUser(
{
id: user.id,
name,
image: user.urlAvatar,
},
token
);
this.setStreamToken(token);
} catch (error) {
this.handleError(error);
}
}
Chat Component Initialisation:

<GestureHandlerRootView style={{ flex: 1 }}>
<OverlayProvider i18nInstance={streamLanguage}>
{chatClient ? (
<Chat
client={chatClient}
style={theme}
i18nInstance={streamLanguage}
enableOfflineSupport
ImageComponent={FastImage}
>
{children}
</Chat>
) : (
<Text style={styles.errorText}>
{t("CHAT_CLIENT_NOT_INITIALIZED")}
</Text>
)}
</OverlayProvider>
</GestureHandlerRootView>
Displaying Channel List Code:

<GetStreamChatComponent>
{loading ? (
<Text style={styles.loadingText}>{t("SEARCHING_TEXT")}</Text>
) : error ? (
<Text style={styles.errorText}>{error}</Text>
) : (
<ChannelList
onSelect={onselectedChannel}
filters={
searchResults.length > 0
? {
id: {
$in: searchResults.map((channel) => channel.id),
},
}
: filter
}
sort={{ last_message_at: -1 }}
channelRenderFilterFn={customChannelRenderFilterFn}
/>
)}
</GetStreamChatComponent>
Video: https://github.com/user-attachments/assets/d7cb03cd-8387-46a9-a9de-8d8f5084bb82