Skip to content

Commit f0e806f

Browse files
chore: RN 0.79 and Expo 53 compatibility (#3120)
* chore: add compatibility for RN 0.79 * chore: update package variants * chore: add support for RN 0.79 to sample app * chore: bump typescript app * chore: upgrade expo app too * chore: update gemfile and podfile lock * fix: bump stream-chat and fix offline db interface issues * chore: final sample apps bump * chore: fully bump expo app and package --------- Co-authored-by: Khushal Agarwal <[email protected]>
1 parent 00d3e5f commit f0e806f

File tree

32 files changed

+8120
-9753
lines changed

32 files changed

+8120
-9753
lines changed

examples/ExpoMessaging/app.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,25 @@
1515
"updates": {
1616
"fallbackToCacheTimeout": 0
1717
},
18-
"assetBundlePatterns": ["**/*"],
18+
"assetBundlePatterns": [
19+
"**/*"
20+
],
1921
"ios": {
2022
"supportsTablet": true,
2123
"usesIcloudStorage": true,
22-
"bundleIdentifier": "io.stream.expomessagingapp"
24+
"bundleIdentifier": "io.stream.expomessagingapp",
25+
"appleTeamId": "EHV7XZLAHA"
2326
},
2427
"android": {
2528
"package": "io.stream.expomessagingapp",
2629
"adaptiveIcon": {
2730
"foregroundImage": "./assets/adaptive-icon.png",
2831
"backgroundColor": "#ffffff"
29-
}
32+
},
33+
"permissions": [
34+
"android.permission.RECORD_AUDIO",
35+
"android.permission.MODIFY_AUDIO_SETTINGS"
36+
]
3037
},
3138
"web": {
3239
"favicon": "./assets/favicon.png",

examples/ExpoMessaging/components/ChatWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const ChatWrapper = ({ children }: PropsWithChildren<{}>) => {
3838
i18nInstance={streami18n}
3939
value={{ style: theme }}
4040
>
41-
<Chat client={chatClient} i18nInstance={streami18n}>
41+
<Chat enableOfflineSupport client={chatClient} i18nInstance={streami18n}>
4242
{children}
4343
</Chat>
4444
</OverlayProvider>

examples/ExpoMessaging/package.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,41 +10,41 @@
1010
"eject": "expo eject"
1111
},
1212
"dependencies": {
13-
"@op-engineering/op-sqlite": "^11.4.7",
13+
"@op-engineering/op-sqlite": "^14.0.4",
1414
"@react-native-community/netinfo": "11.4.1",
15-
"@react-navigation/elements": "^1.3.30",
16-
"expo": "~52.0.36",
17-
"expo-av": "~15.0.2",
18-
"expo-clipboard": "~7.0.1",
19-
"expo-constants": "~17.0.7",
20-
"expo-document-picker": "~13.0.3",
21-
"expo-file-system": "~18.0.11",
22-
"expo-haptics": "~14.0.1",
23-
"expo-image-manipulator": "~13.0.6",
24-
"expo-image-picker": "~16.0.6",
25-
"expo-linking": "~7.0.5",
26-
"expo-router": "~4.0.17",
27-
"expo-sharing": "~13.0.1",
28-
"expo-splash-screen": "~0.29.22",
29-
"expo-status-bar": "~2.0.1",
30-
"expo-video": "^2.0.5",
31-
"react": "18.3.1",
32-
"react-dom": "18.3.1",
33-
"react-native": "0.77.1",
34-
"react-native-gesture-handler": "~2.24.0",
35-
"react-native-reanimated": "~3.16.7",
36-
"react-native-safe-area-context": "5.2.0",
37-
"react-native-screens": "~4.8.0",
38-
"react-native-svg": "15.11.1",
39-
"react-native-web": "~0.19.13",
15+
"@react-navigation/elements": "^1.3.31",
16+
"expo": "^53.0.12",
17+
"expo-av": "~15.1.6",
18+
"expo-clipboard": "~7.1.4",
19+
"expo-constants": "~17.1.6",
20+
"expo-document-picker": "~13.1.5",
21+
"expo-file-system": "~18.1.10",
22+
"expo-haptics": "~14.1.4",
23+
"expo-image-manipulator": "~13.1.7",
24+
"expo-image-picker": "~16.1.4",
25+
"expo-linking": "~7.1.5",
26+
"expo-router": "~5.1.0",
27+
"expo-sharing": "~13.1.5",
28+
"expo-splash-screen": "~0.30.9",
29+
"expo-status-bar": "~2.2.3",
30+
"expo-video": "~2.2.1",
31+
"react": "19.0.0",
32+
"react-dom": "19.0.0",
33+
"react-native": "0.79.3",
34+
"react-native-gesture-handler": "~2.26.0",
35+
"react-native-reanimated": "~3.17.4",
36+
"react-native-safe-area-context": "5.4.0",
37+
"react-native-screens": "~4.11.1",
38+
"react-native-svg": "15.11.2",
39+
"react-native-web": "^0.20.0",
4040
"stream-chat-expo": "link:../../package/expo-package",
4141
"stream-chat-react-native-core": "link:../../package",
42-
"typescript": "~5.7.3"
42+
"typescript": "~5.8.3"
4343
},
4444
"devDependencies": {
45-
"@babel/core": "^7.25.2",
46-
"@rnx-kit/metro-config": "^2.0.1",
47-
"@rnx-kit/metro-resolver-symlinks": "^0.2.1"
45+
"@babel/core": "^7.27.4",
46+
"@rnx-kit/metro-config": "^2.1.0",
47+
"@rnx-kit/metro-resolver-symlinks": "^0.2.5"
4848
},
4949
"resolutions": {
5050
"@types/react": "^19.0.0"

0 commit comments

Comments
 (0)