Skip to content

Commit d21fa2a

Browse files
authored
Merge pull request #1196 from jpudysz/feature/upgrade
feat: upgrade expo example to SDK 56, React Native to 0.85.3
2 parents b1a84d3 + f2d2800 commit d21fa2a

9 files changed

Lines changed: 1049 additions & 1830 deletions

File tree

apps/example/ios/Podfile.lock

Lines changed: 689 additions & 1418 deletions
Large diffs are not rendered by default.

apps/example/ios/example.xcodeproj/project.pbxproj

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,14 +512,18 @@
512512
);
513513
MTL_ENABLE_DEBUG_INFO = YES;
514514
ONLY_ACTIVE_ARCH = YES;
515-
OTHER_CFLAGS = "$(inherited)";
515+
OTHER_CFLAGS = (
516+
"$(inherited)",
517+
"-DRCT_REMOVE_LEGACY_ARCH=1",
518+
);
516519
OTHER_CPLUSPLUSFLAGS = (
517520
"$(OTHER_CFLAGS)",
518521
"-DFOLLY_NO_CONFIG",
519522
"-DFOLLY_MOBILE=1",
520523
"-DFOLLY_USE_LIBCPP=1",
521524
"-DFOLLY_CFG_NO_COROUTINES=1",
522525
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
526+
"-DRCT_REMOVE_LEGACY_ARCH=1",
523527
);
524528
OTHER_LDFLAGS = (
525529
"$(inherited)",
@@ -528,6 +532,7 @@
528532
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
529533
SDKROOT = iphoneos;
530534
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
535+
SWIFT_ENABLE_EXPLICIT_MODULES = NO;
531536
USE_HERMES = true;
532537
};
533538
name = Debug;
@@ -596,21 +601,26 @@
596601
"\"$(inherited)\"",
597602
);
598603
MTL_ENABLE_DEBUG_INFO = NO;
599-
OTHER_CFLAGS = "$(inherited)";
604+
OTHER_CFLAGS = (
605+
"$(inherited)",
606+
"-DRCT_REMOVE_LEGACY_ARCH=1",
607+
);
600608
OTHER_CPLUSPLUSFLAGS = (
601609
"$(OTHER_CFLAGS)",
602610
"-DFOLLY_NO_CONFIG",
603611
"-DFOLLY_MOBILE=1",
604612
"-DFOLLY_USE_LIBCPP=1",
605613
"-DFOLLY_CFG_NO_COROUTINES=1",
606614
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
615+
"-DRCT_REMOVE_LEGACY_ARCH=1",
607616
);
608617
OTHER_LDFLAGS = (
609618
"$(inherited)",
610619
" ",
611620
);
612621
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
613622
SDKROOT = iphoneos;
623+
SWIFT_ENABLE_EXPLICIT_MODULES = NO;
614624
USE_HERMES = true;
615625
VALIDATE_PRODUCT = YES;
616626
};

apps/example/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"start": "react-native start --client-logs"
99
},
1010
"dependencies": {
11-
"react": "19.2.0",
12-
"react-native": "0.83.2",
11+
"react": "19.2.3",
12+
"react-native": "0.85.3",
1313
"react-native-edge-to-edge": "1.8.1",
1414
"react-native-nitro-modules": "0.35.7",
15-
"react-native-reanimated": "4.2.2",
15+
"react-native-reanimated": "4.3.1",
1616
"react-native-unistyles": "workspace:*",
17-
"react-native-worklets": "0.7.4"
17+
"react-native-worklets": "0.8.3"
1818
},
1919
"devDependencies": {
2020
"@babel/core": "7.29.0",
@@ -23,16 +23,16 @@
2323
"@react-native-community/cli": "20.1.2",
2424
"@react-native-community/cli-platform-android": "20.1.2",
2525
"@react-native-community/cli-platform-ios": "20.1.2",
26-
"@react-native/babel-preset": "0.83.2",
27-
"@react-native/codegen": "0.83.2",
28-
"@react-native/gradle-plugin": "0.83.2",
29-
"@react-native/metro-config": "0.83.2",
30-
"@react-native/typescript-config": "0.83.2",
26+
"@react-native/babel-preset": "0.85.3",
27+
"@react-native/codegen": "0.85.3",
28+
"@react-native/gradle-plugin": "0.85.3",
29+
"@react-native/metro-config": "0.85.3",
30+
"@react-native/typescript-config": "0.85.3",
3131
"@types/react": "19.2.14",
3232
"babel-jest": "30.2.0",
3333
"babel-plugin-module-resolver": "5.0.2",
3434
"jest": "30.2.0",
35-
"metro-config": "0.83.2",
35+
"metro-config": "0.84.4",
3636
"typescript": "5.9.3"
3737
},
3838
"engines": {

apps/expo-example/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"ios": {
3434
"newArchEnabled": true,
35-
"deploymentTarget": "15.3"
35+
"deploymentTarget": "16.4"
3636
}
3737
}
3838
],

apps/expo-example/package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,37 @@
1010
"test": "jest"
1111
},
1212
"dependencies": {
13-
"@expo/metro-runtime": "55.0.6",
14-
"expo": "55.0.3",
15-
"expo-build-properties": "55.0.9",
16-
"expo-constants": "55.0.7",
17-
"expo-linking": "55.0.7",
18-
"expo-router": "55.0.2",
19-
"expo-status-bar": "55.0.4",
20-
"react": "19.2.0",
21-
"react-dom": "19.2.0",
22-
"react-native": "0.83.2",
13+
"@expo/metro-runtime": "56.0.13",
14+
"expo": "56.0.5",
15+
"expo-build-properties": "56.0.15",
16+
"expo-constants": "56.0.16",
17+
"expo-linking": "56.0.12",
18+
"expo-router": "56.2.7",
19+
"expo-status-bar": "56.0.4",
20+
"react": "19.2.3",
21+
"react-dom": "19.2.3",
22+
"react-native": "0.85.3",
2323
"react-native-edge-to-edge": "1.8.1",
24-
"react-native-gesture-handler": "2.30.0",
24+
"react-native-gesture-handler": "2.31.1",
2525
"react-native-nitro-modules": "0.35.7",
26-
"react-native-reanimated": "4.2.2",
26+
"react-native-reanimated": "4.3.1",
2727
"react-native-safe-area-context": "5.7.0",
28-
"react-native-screens": "4.23.0",
28+
"react-native-screens": "4.25.2",
2929
"react-native-web": "0.21.2",
30-
"react-native-worklets": "0.7.4",
30+
"react-native-worklets": "0.8.3",
3131
"react-native-unistyles": "workspace:*"
3232
},
3333
"devDependencies": {
3434
"@babel/core": "7.29.0",
35-
"@expo/metro-config": "55.0.9",
35+
"@expo/metro-config": "56.0.13",
3636
"@testing-library/react-native": "13.3.3",
3737
"@types/jest": "30.0.0",
3838
"@types/react": "19.2.14",
3939
"babel-plugin-module-resolver": "5.0.2",
40-
"babel-preset-expo": "55.0.9",
40+
"babel-preset-expo": "56.0.13",
4141
"jest": "30.2.0",
42-
"jest-expo": "55.0.9",
43-
"metro-config": "0.83.2",
42+
"jest-expo": "56.0.4",
43+
"metro-config": "0.84.4",
4444
"typescript": "5.9.3"
4545
},
4646
"jest": {

0 commit comments

Comments
 (0)