From 6f5abf634d5ac008d8c219003b2ae07cbcb25b01 Mon Sep 17 00:00:00 2001 From: Davide Scaini Date: Fri, 24 Apr 2026 11:32:56 +0200 Subject: [PATCH] fix: downgrade to Expo SDK 54 for Expo Go compatibility Expo Go 54 (latest available on device) cannot run SDK 55 projects. Rewrite package.json with canonical SDK 54 versions from expo-template-tabs: expo ~54.0.33, expo-router ~6.0.23, react 19.1.0, react-native 0.81.5 expo-sqlite ~15.0.6, expo-document-picker ~13.1.6, expo-file-system ~18.0.12, expo-background-fetch/task-manager ~13.1.6, expo-notifications ~0.32.16, expo-constants ~18.0.13, expo-linking ~8.0.11, expo-splash-screen ~31.0.13, expo-status-bar ~3.0.9, react-native-screens ~4.16.0, react-native-safe-area-context ~5.6.0 TypeScript compiles cleanly; npm install completes without errors. --- mobile/package.json | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/mobile/package.json b/mobile/package.json index 311e783..9db30ae 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -10,28 +10,28 @@ "lint": "expo lint" }, "dependencies": { - "expo": "~55.0.0", - "expo-router": "~55.0.0", - "expo-sqlite": "~55.0.0", - "expo-document-picker": "~55.0.0", - "expo-file-system": "~55.0.0", - "expo-background-fetch": "~55.0.0", - "expo-task-manager": "~55.0.0", - "expo-notifications": "~55.0.0", - "expo-constants": "~55.0.0", - "expo-linking": "~55.0.0", - "expo-splash-screen": "~55.0.0", - "expo-status-bar": "~55.0.0", - "react": "19.2.5", - "react-native": "0.85.2", - "react-native-safe-area-context": "^5.0.0", - "react-native-screens": "^4.0.0", + "expo": "~54.0.33", + "expo-router": "~6.0.23", + "expo-sqlite": "~15.0.6", + "expo-document-picker": "~13.1.6", + "expo-file-system": "~18.0.12", + "expo-background-fetch": "~13.1.6", + "expo-task-manager": "~13.1.6", + "expo-notifications": "~0.32.16", + "expo-constants": "~18.0.13", + "expo-linking": "~8.0.11", + "expo-splash-screen": "~31.0.13", + "expo-status-bar": "~3.0.9", + "react": "19.1.0", + "react-native": "0.81.5", + "react-native-safe-area-context": "~5.6.0", + "react-native-screens": "~4.16.0", "react-native-webview": "~13.16.0", "@maplibre/maplibre-react-native": "~11.0.0" }, "devDependencies": { "@babel/core": "^7.25.0", - "@types/react": "~19.2.0", + "@types/react": "~19.1.0", "typescript": "~5.8.0" } }