fix(mobile): upgrade Expo SDK from 51 to 54 and fix EAS project ID
- Update mobile/app.json: replace YOUR_EAS_PROJECT_ID placeholder with the real EAS project ID (8455f39d-ef0d-4850-98e4-f79e388642c1) - Update mobile/package.json: upgrade all dependencies to Expo SDK 54 compatible versions (react 19.1.0, react-native 0.81.5, expo ~54.0.0, all expo-* packages, react-navigation v6 → v7, @types/react ~19.1.10) - Update mobile/README.md: remove outdated eas init step, document that the EAS project ID is already configured and explain when to update it Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
+1
-4
@@ -43,9 +43,6 @@ npm install -g eas-cli
|
|||||||
# Log in to Expo
|
# Log in to Expo
|
||||||
eas login
|
eas login
|
||||||
|
|
||||||
# Configure your project (one-time) – updates app.json with the EAS project ID
|
|
||||||
eas init
|
|
||||||
|
|
||||||
# Build for iOS
|
# Build for iOS
|
||||||
eas build --platform ios
|
eas build --platform ios
|
||||||
|
|
||||||
@@ -56,7 +53,7 @@ eas build --platform android
|
|||||||
eas build --platform all
|
eas build --platform all
|
||||||
```
|
```
|
||||||
|
|
||||||
> **After running `eas init`:** update the `extra.eas.projectId` field in `app.json` with the value printed by the command.
|
> **Note:** The EAS project ID is already configured in `app.json` (`extra.eas.projectId`). You only need to run `eas init` if you are setting up a fork or a brand-new EAS project — in that case, replace the `extra.eas.projectId` value in `app.json` with the ID printed by `eas init`.
|
||||||
|
|
||||||
### iOS-specific
|
### iOS-specific
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -63,7 +63,7 @@
|
|||||||
"scheme": "docuelevate",
|
"scheme": "docuelevate",
|
||||||
"extra": {
|
"extra": {
|
||||||
"eas": {
|
"eas": {
|
||||||
"projectId": "YOUR_EAS_PROJECT_ID"
|
"projectId": "8455f39d-ef0d-4850-98e4-f79e388642c1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+28
-28
@@ -17,38 +17,38 @@
|
|||||||
"submit:android": "eas submit --platform android"
|
"submit:android": "eas submit --platform android"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@expo/vector-icons": "^14.0.0",
|
"@expo/vector-icons": "^15.0.3",
|
||||||
"@react-native-async-storage/async-storage": "1.23.1",
|
"@react-native-async-storage/async-storage": "2.2.0",
|
||||||
"@react-navigation/bottom-tabs": "^6.6.1",
|
"@react-navigation/bottom-tabs": "^7.4.7",
|
||||||
"@react-navigation/native": "^6.1.18",
|
"@react-navigation/native": "^7.1.17",
|
||||||
"@react-navigation/native-stack": "^6.11.0",
|
"@react-navigation/native-stack": "^7.2.0",
|
||||||
"expo": "~51.0.0",
|
"expo": "~54.0.0",
|
||||||
"expo-auth-session": "~5.5.2",
|
"expo-auth-session": "~7.0.10",
|
||||||
"expo-camera": "~15.0.16",
|
"expo-camera": "~17.0.10",
|
||||||
"expo-constants": "~16.0.2",
|
"expo-constants": "~18.0.13",
|
||||||
"expo-crypto": "~13.0.2",
|
"expo-crypto": "~15.0.8",
|
||||||
"expo-document-picker": "~12.0.2",
|
"expo-document-picker": "~14.0.8",
|
||||||
"expo-file-system": "~17.0.1",
|
"expo-file-system": "~19.0.21",
|
||||||
"expo-image-manipulator": "~12.0.5",
|
"expo-image-manipulator": "~14.0.8",
|
||||||
"expo-image-picker": "~15.0.7",
|
"expo-image-picker": "~17.0.10",
|
||||||
"expo-linking": "~6.3.1",
|
"expo-linking": "~8.0.11",
|
||||||
"expo-notifications": "~0.28.15",
|
"expo-notifications": "~0.32.16",
|
||||||
"expo-router": "~3.5.23",
|
"expo-router": "~6.0.23",
|
||||||
"expo-secure-store": "~13.0.2",
|
"expo-secure-store": "~15.0.8",
|
||||||
"expo-sharing": "~12.0.1",
|
"expo-sharing": "~14.0.8",
|
||||||
"expo-splash-screen": "~0.27.5",
|
"expo-splash-screen": "~31.0.13",
|
||||||
"expo-status-bar": "~1.12.1",
|
"expo-status-bar": "~3.0.9",
|
||||||
"expo-web-browser": "~13.0.3",
|
"expo-web-browser": "~15.0.10",
|
||||||
"react": "18.2.0",
|
"react": "19.1.0",
|
||||||
"react-native": "0.74.5",
|
"react-native": "0.81.5",
|
||||||
"react-native-safe-area-context": "4.10.5",
|
"react-native-safe-area-context": "5.6.0",
|
||||||
"react-native-screens": "3.31.1"
|
"react-native-screens": "4.16.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.24.0",
|
"@babel/core": "^7.24.0",
|
||||||
"@types/react": "~18.2.79",
|
"@types/react": "~19.1.10",
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-config-expo": "~7.0.0",
|
"eslint-config-expo": "~10.0.0",
|
||||||
"typescript": "^5.3.0"
|
"typescript": "^5.3.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
Reference in New Issue
Block a user