Skip to content

Commit b9eeab6

Browse files
chore(samples): update expo sample to SDK 52 (#4279)
1 parent 386befd commit b9eeab6

File tree

5 files changed

+2823
-1369
lines changed

5 files changed

+2823
-1369
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"eslint": "^7.6.0",
9999
"eslint-plugin-react": "^7.20.6",
100100
"eslint-plugin-react-native": "^3.8.1",
101-
"expo": "^50.0.8",
101+
"expo": "^52.0.0",
102102
"expo-module-scripts": "3.1.0",
103103
"jest": "^29.6.2",
104104
"jest-environment-jsdom": "^29.6.2",

samples/expo/app/_layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ process.env.EXPO_SKIP_DURING_EXPORT !== 'true' && Sentry.init({
7777
// otherwise they will not work.
7878
// release: '[email protected]+1',
7979
// dist: `1`,
80-
profilesSampleRate: 0,
80+
profilesSampleRate: 1.0,
8181
_experiments: {
8282
// replaysOnErrorSampleRate: 1.0,
8383
replaysSessionSampleRate: 1.0,

samples/expo/babel.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

samples/expo/package.json

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,37 @@
44
"main": "expo-router/entry",
55
"scripts": {
66
"start": "expo start",
7-
"android": "expo start --android",
8-
"ios": "expo start --ios",
9-
"web": "expo start --web",
7+
"start:android": "expo start --android",
8+
"start:ios": "expo start --ios",
9+
"start:web": "expo start --web",
10+
"android": "expo run:android",
11+
"ios": "expo run:ios",
1012
"ts:check": "tsc",
1113
"export": "EXPO_SKIP_DURING_EXPORT='true' expo export --dump-sourcemap --clear",
14+
"prebuild": "expo prebuild --clean --no-install",
1215
"set-version": "npx react-native-version --skip-tag --never-amend"
1316
},
1417
"dependencies": {
1518
"@sentry/react-native": "6.2.0",
16-
"@types/react": "18.2.45",
17-
"expo": "^50.0.8",
18-
"expo-constants": "~15.4.5",
19-
"expo-linking": "~6.2.2",
20-
"expo-router": "~3.4.8",
21-
"expo-status-bar": "1.11.1",
22-
"expo-web-browser": "~12.8.2",
23-
"react": "18.2.0",
24-
"react-dom": "18.2.0",
25-
"react-native": "0.73.4",
26-
"react-native-gesture-handler": "~2.14.0",
27-
"react-native-safe-area-context": "4.8.2",
28-
"react-native-screens": "~3.29.0",
29-
"react-native-web": "~0.19.6",
19+
"@types/react": "~18.3.12",
20+
"expo": "^52.0.0",
21+
"expo-constants": "~17.0.3",
22+
"expo-linking": "~7.0.2",
23+
"expo-router": "~4.0.5",
24+
"expo-status-bar": "~2.0.0",
25+
"expo-web-browser": "~14.0.1",
26+
"react": "18.3.1",
27+
"react-dom": "18.3.1",
28+
"react-native": "0.76.1",
29+
"react-native-gesture-handler": "~2.20.2",
30+
"react-native-safe-area-context": "4.12.0",
31+
"react-native-screens": "~4.0.0",
32+
"react-native-web": "~0.19.13",
3033
"typescript": "^5.3.2"
3134
},
3235
"devDependencies": {
33-
"@babel/core": "^7.20.0",
34-
"@babel/preset-env": "7.1.6",
36+
"@babel/core": "^7.26.0",
37+
"@babel/preset-env": "^7.26.0",
3538
"@sentry/babel-plugin-component-annotate": "^2.18.0",
3639
"@types/node": "20.10.4"
3740
},

0 commit comments

Comments
 (0)