Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions examples/ExpoMessaging/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"experiments": {
"reactCompiler": true
},
"assetBundlePatterns": ["**/*"],
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"usesIcloudStorage": true,
Expand Down Expand Up @@ -86,16 +88,22 @@
"expo-build-properties",
{
"android": {
"extraMavenRepos": ["$rootDir/../../../node_modules/@notifee/react-native/android/libs"]
"extraMavenRepos": [
"$rootDir/../../../node_modules/@notifee/react-native/android/libs"
]
},
"ios": {
"useFrameworks": "static",
"forceStaticLinking": ["RNFBApp", "RNFBMessaging"]
"forceStaticLinking": [
"RNFBApp",
"RNFBMessaging"
]
}
}
],
"./plugins/keyboardInsetMainActivityListener.js",
"./plugins/opSqliteSwiftPlugin.js"
"./plugins/opSqliteSwiftPlugin.js",
"expo-sharing"
]
}
}
4 changes: 2 additions & 2 deletions examples/ExpoMessaging/app/channel/[cid]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
Channel,
MessageInput,
useChatContext,
MessageFlashList,
MessageList,
ThreadContextValue,
} from 'stream-chat-expo';
import { Stack, useLocalSearchParams, useRouter } from 'expo-router';
Expand Down Expand Up @@ -78,7 +78,7 @@ export default function ChannelScreen() {
>
<Stack.Screen options={{ title: 'Channel Screen' }} />

<MessageFlashList
<MessageList
onThreadSelect={(thread: ThreadContextValue['thread']) => {
setThread(thread);
router.push(`/channel/${channel.cid}/thread/${thread?.cid ?? ''}`);
Expand Down
2 changes: 1 addition & 1 deletion examples/ExpoMessaging/context/AppContext.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PropsWithChildren, createContext, useState } from 'react';
import React, { PropsWithChildren, createContext, useState } from 'react';
import { Channel as ChannelType } from 'stream-chat';
import { ThreadContextValue } from 'stream-chat-expo';

Expand Down
5 changes: 5 additions & 0 deletions examples/ExpoMessaging/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"react-native": {
"messaging_android_notification_color": "@color/colorPrimary"
}
}
66 changes: 35 additions & 31 deletions examples/ExpoMessaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,51 @@
},
"dependencies": {
"@notifee/react-native": "^9.1.8",
"@op-engineering/op-sqlite": "^14.0.4",
"@op-engineering/op-sqlite": "^15.2.7",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-native-community/netinfo": "11.4.1",
"@react-native-community/netinfo": "11.5.2",
"@react-native-firebase/app": "^23.4.0",
"@react-native-firebase/messaging": "^23.4.0",
"@react-navigation/elements": "^2.6.4",
"@react-navigation/native": "^7.1.8",
"@react-navigation/elements": "^2.9.10",
"@react-navigation/native": "^7.1.33",
"@react-navigation/native-stack": "^7.14.5",
"@shopify/flash-list": "2.0.2",
"expo": "54.0.22",
"expo-audio": "~1.0.14",
"expo-build-properties": "~1.0.9",
"expo-clipboard": "~8.0.7",
"expo-constants": "~18.0.10",
"expo-document-picker": "~14.0.7",
"expo-file-system": "~19.0.17",
"expo-haptics": "~15.0.7",
"expo-image-manipulator": "~14.0.7",
"expo-image-picker": "~17.0.8",
"expo-linking": "~8.0.8",
"expo-location": "~19.0.7",
"expo-router": "~6.0.14",
"expo-sharing": "~14.0.7",
"expo-splash-screen": "~31.0.10",
"expo-status-bar": "~3.0.8",
"expo-video": "~3.0.14",
"react": "19.1.0",
"react-native": "0.81.5",
"react-native-gesture-handler": "~2.28.0",
"react-native-maps": "1.20.1",
"react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0",
"react-native-svg": "15.12.1",
"react-native-worklets": "0.5.1",
"expo": "^55.0.6",
"expo-audio": "~55.0.8",
"expo-build-properties": "~55.0.9",
"expo-clipboard": "~55.0.8",
"expo-constants": "~55.0.7",
"expo-document-picker": "~55.0.8",
"expo-file-system": "~55.0.10",
"expo-haptics": "~55.0.8",
"expo-image-manipulator": "~55.0.10",
"expo-image-picker": "~55.0.12",
"expo-linking": "~55.0.7",
"expo-location": "~55.1.2",
"expo-media-library": "~55.0.9",
"expo-router": "~55.0.5",
"expo-sharing": "~55.0.11",
"expo-splash-screen": "~55.0.10",
"expo-status-bar": "~55.0.4",
"expo-video": "~55.0.10",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-native": "0.83.2",
"react-native-gesture-handler": "~2.30.0",
"react-native-maps": "1.26.20",
"react-native-reanimated": "4.2.1",
"react-native-safe-area-context": "~5.6.2",
"react-native-screens": "~4.23.0",
"react-native-svg": "15.15.3",
"react-native-web": "^0.21.0",
"react-native-worklets": "0.7.2",
"stream-chat-expo": "link:../../package/expo-package",
"stream-chat-react-native-core": "link:../../package"
},
"devDependencies": {
"@rnx-kit/metro-config": "^2.1.2",
"@rnx-kit/metro-resolver-symlinks": "^0.2.6",
"@types/react": "~19.1.0",
"@types/react": "~19.2.10",
"typescript": "~5.9.2"
},
"private": true
Expand Down
Loading
Loading