Skip to content

Commit fe92782

Browse files
author
Julio Holon
committed
Remove app.json to fix EAS CLI configuration conflict
- EAS CLI was confused by having both app.json and app.config.ts - app.config.ts now contains all configurations from app.json including: - edgeToEdgeEnabled: true - web.output: single - expo-splash-screen plugin configuration - EAS projectId in extra.eas.projectId - This should fix 'EAS project not configured' error in non-interactive mode
1 parent 3e75976 commit fe92782

2 files changed

Lines changed: 20 additions & 49 deletions

File tree

app.config.ts

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
99
orientation: "portrait",
1010
icon: "./assets/images/icon.png",
1111
scheme: "capsula",
12-
userInterfaceStyle: "dark",
12+
userInterfaceStyle: "automatic",
1313
runtimeVersion: {
1414
policy: "appVersion",
1515
},
@@ -29,20 +29,36 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
2929
backgroundColor: "#ffffff",
3030
},
3131
package: "com.capsula.wallet",
32+
edgeToEdgeEnabled: true,
3233
},
3334
web: {
3435
bundler: "metro",
35-
output: "static",
36+
output: "single",
3637
favicon: "./assets/images/favicon.png",
3738
},
38-
plugins: ["expo-router", "expo-sqlite", "expo-font", "expo-web-browser", "expo-secure-store"],
39+
plugins: [
40+
"expo-router",
41+
"expo-sqlite",
42+
"expo-font",
43+
"expo-web-browser",
44+
"expo-secure-store",
45+
[
46+
"expo-splash-screen",
47+
{
48+
image: "./assets/images/splash-icon.png",
49+
imageWidth: 200,
50+
resizeMode: "contain",
51+
backgroundColor: "#ffffff",
52+
},
53+
],
54+
],
3955
// experiments: {
4056
// typedRoutes: true,
4157
// baseUrl: "/expo-local-first-template",
4258
// },
4359
extra: {
4460
eas: {
45-
projectId: "",
61+
projectId: "bf0f5b96-60cf-40df-9f9f-b017d492f985",
4662
},
4763
},
4864
owner: "*",

app.json

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

0 commit comments

Comments
 (0)