From 74f5844ed7c99809e641449c44ec85e5f2f5214c Mon Sep 17 00:00:00 2001 From: Gauvain Date: Fri, 29 May 2026 00:16:15 +0200 Subject: [PATCH] fix(build): unblock SDK 56 Android + iOS builds - app.json: kotlinVersion 2.0.21 -> 2.1.20 (Expo SDK 56 modules require >= 2.1.20) - re-add @react-navigation/native: it is a peer dependency of @bottom-tabs/react-navigation and was wrongly removed; its absence broke the iOS eager JS bundle (expo export:embed) during the native build. Local `expo export -p ios` now bundles cleanly. SDK 56 disables USE_FRAMEWORKS for RNScreens/ReactCodegen, which resolves the original signed-iOS RNScreens static-frameworks build failure. --- app.json | 2 +- bun.lock | 1 + package.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app.json b/app.json index 8751d44c6..3326f4e4a 100644 --- a/app.json +++ b/app.json @@ -86,7 +86,7 @@ "compileSdkVersion": 36, "targetSdkVersion": 35, "buildToolsVersion": "35.0.0", - "kotlinVersion": "2.0.21", + "kotlinVersion": "2.1.20", "minSdkVersion": 26, "usesCleartextTraffic": true, "packagingOptions": { diff --git a/bun.lock b/bun.lock index f9195aeda..ed088a24c 100644 --- a/bun.lock +++ b/bun.lock @@ -14,6 +14,7 @@ "@gorhom/bottom-sheet": "5.2.8", "@jellyfin/sdk": "^0.13.0", "@react-native-community/netinfo": "^12.0.0", + "@react-navigation/native": "^7.2.5", "@shopify/flash-list": "2.0.2", "@tanstack/query-sync-storage-persister": "^5.90.18", "@tanstack/react-pacer": "^0.19.1", diff --git a/package.json b/package.json index 481e2f178..f785937ea 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "@gorhom/bottom-sheet": "5.2.8", "@jellyfin/sdk": "^0.13.0", "@react-native-community/netinfo": "^12.0.0", + "@react-navigation/native": "^7.2.5", "@shopify/flash-list": "2.0.2", "@tanstack/query-sync-storage-persister": "^5.90.18", "@tanstack/react-pacer": "^0.19.1",