Skip to content

Commit 9dffa57

Browse files
authored
Upgrade Example App to Expo SDK 50 & RN 0.73.6 (#1460)
## Please verify the following: - [x] `yarn build-and-test:local` passes - [ ] ~I have added tests for any new features, if relevant~ - [ ] ~`README.md` (or relevant documentation) has been updated with your changes~ ## Describe your PR This PR upgrades the example application to Expo SDK 50 and React Native 0.73.6. ### Additional Notes - `console.tron.image` relies on placekitten.com which has been struggling as of late. Vote to switch that out with something that we control. - When developing on Reactotron the `reactotron-react-native` plugin has to have its `devDependency` set to the same version as the example application. This was not intuitive and discovered through `XHRInterceptor` ceasing to function as expected.
1 parent dedcee8 commit 9dffa57

File tree

5 files changed

+1100
-868
lines changed

5 files changed

+1100
-868
lines changed

apps/example-app/app.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"fallbackToCacheTimeout": 0
1818
},
1919
"jsEngine": "hermes",
20-
"assetBundlePatterns": ["**/*"],
20+
"assetBundlePatterns": [
21+
"**/*"
22+
],
2123
"android": {
2224
"icon": "./assets/images/app-icon-android-legacy.png",
2325
"package": "com.exampleapp",
@@ -63,7 +65,8 @@
6365
"newArchEnabled": false
6466
}
6567
}
66-
]
68+
],
69+
"expo-font"
6770
],
6871
"experiments": {
6972
"tsconfigPaths": true

apps/example-app/package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,33 @@
3434
},
3535
"dependencies": {
3636
"@expo-google-fonts/space-grotesk": "^0.2.2",
37-
"@react-native-async-storage/async-storage": "1.18.2",
37+
"@react-native-async-storage/async-storage": "1.21.0",
3838
"@react-navigation/native": "^6.0.2",
3939
"@react-navigation/native-stack": "^6.0.2",
4040
"@reduxjs/toolkit": "^2.1.0",
41-
"@shopify/flash-list": "1.4.3",
41+
"@shopify/flash-list": "1.6.3",
4242
"apisauce": "3.0.1",
4343
"date-fns": "^2.30.0",
44-
"expo": "^49.0.21",
45-
"expo-build-properties": "~0.8.3",
46-
"expo-font": "~11.4.0",
47-
"expo-linear-gradient": "~12.3.0",
48-
"expo-linking": "~5.0.2",
49-
"expo-localization": "~14.3.0",
50-
"expo-splash-screen": "~0.20.4",
51-
"expo-status-bar": "~1.6.0",
44+
"expo": "latest",
45+
"expo-build-properties": "~0.11.1",
46+
"expo-font": "~11.10.3",
47+
"expo-linear-gradient": "~12.7.2",
48+
"expo-linking": "~6.2.2",
49+
"expo-localization": "~14.8.3",
50+
"expo-splash-screen": "~0.26.4",
51+
"expo-status-bar": "~1.11.1",
5252
"i18n-js": "3.9.2",
5353
"mobx": "6.10.2",
5454
"mobx-react-lite": "4.0.5",
5555
"mobx-state-tree": "5.3.0",
5656
"react": "18.2.0",
5757
"react-dom": "18.2.0",
58-
"react-native": "0.72.6",
59-
"react-native-gesture-handler": "~2.12.0",
60-
"react-native-reanimated": "~3.3.0",
61-
"react-native-safe-area-context": "4.6.3",
62-
"react-native-screens": "~3.22.0",
63-
"react-native-view-shot": "3.7.0",
58+
"react-native": "0.73.6",
59+
"react-native-gesture-handler": "~2.14.0",
60+
"react-native-reanimated": "~3.6.2",
61+
"react-native-safe-area-context": "4.8.2",
62+
"react-native-screens": "~3.29.0",
63+
"react-native-view-shot": "3.8.0",
6464
"react-native-web": "~0.19.6",
6565
"react-redux": "^9.1.0"
6666
},
@@ -76,7 +76,7 @@
7676
"@babel/runtime": "^7.20.0",
7777
"@types/i18n-js": "3.8.2",
7878
"@types/jest": "^29.2.1",
79-
"@types/react": "~18.2.14",
79+
"@types/react": "~18.2.45",
8080
"@types/react-test-renderer": "^18.0.0",
8181
"@types/redux-logger": "^3.0.13",
8282
"@typescript-eslint/eslint-plugin": "^5.59.0",
@@ -93,7 +93,7 @@
9393
"eslint-plugin-react-native": "4.0.0",
9494
"eslint-plugin-reactotron": "workspace:*",
9595
"jest": "^29.2.1",
96-
"jest-expo": "49.0.0",
96+
"jest-expo": "~50.0.4",
9797
"patch-package": "6.4.7",
9898
"postinstall-prepare": "1.0.1",
9999
"prettier": "2.8.8",

lib/reactotron-react-native/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"npm-run-all": "4.1.5",
8181
"prettier": "^3.0.3",
8282
"react": "^18.2.0",
83-
"react-native": "0.72.6",
83+
"react-native": "0.73.6",
8484
"react-native-flipper": "0.164.0",
8585
"rimraf": "5.0.5",
8686
"rollup": "2.60.2",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"eslint-plugin-standard": "^5.0.0",
4444
"nx": "17.0.3",
4545
"prettier": "^3.0.3",
46-
"typescript": "^4.9.5",
46+
"typescript": "^5.1.3",
4747
"zx": "^7.2.3"
4848
},
4949
"resolutions": {

0 commit comments

Comments
 (0)