-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.js
More file actions
64 lines (60 loc) · 1.48 KB
/
app.config.js
File metadata and controls
64 lines (60 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
const getVariantInfo = () => {
if (process.env.APP_VARIANT === "production") {
return ["PodHaven", "com.vellapps.podhaven"];
}
if (process.env.APP_VARIANT === "preview") {
return ["PodHaven (Preview)", "com.vellapps.podhaven.preview"];
}
return ["PodHaven (Development)", "com.vellapps.podhaven.dev"];
};
const [appName, bundleId] = getVariantInfo();
export default {
expo: {
name: appName,
slug: "pod-haven",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/images/icon.png",
scheme: "pod-haven",
userInterfaceStyle: "automatic",
splash: {
image: "./assets/images/splash.png",
resizeMode: "contain",
backgroundColor: "#020617",
},
ios: {
supportsTablet: true,
bundleIdentifier: bundleId,
infoPlist: {
UIBackgroundModes: ["audio"],
},
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: "#020617",
},
package: bundleId,
},
web: {
bundler: "metro",
output: "static",
favicon: "./assets/images/favicon.png",
},
plugins: ["expo-router", "expo-build-properties"],
experiments: {
typedRoutes: true,
},
extra: {
eas: {
projectId: "dc339c44-41d3-4ad9-9ab4-285e639bb99e",
},
},
runtimeVersion: {
policy: "appVersion",
},
updates: {
url: "https://u.expo.dev/dc339c44-41d3-4ad9-9ab4-285e639bb99e",
},
},
};