-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.ts
78 lines (71 loc) · 1.6 KB
/
app.config.ts
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
const IS_DEV = process.env.APP_VARIANT === "development";
const IS_PREVIEW = process.env.APP_VARIANT === "preview";
const getUniqueIdentifier = () => {
if (IS_DEV) {
return "app.ambry.mobile.dev";
}
if (IS_PREVIEW) {
return "app.ambry.mobile.preview";
}
return "app.ambry.mobile";
};
const getAppName = () => {
if (IS_DEV) {
return "Ambry (Dev)";
}
if (IS_PREVIEW) {
return "Ambry (Preview)";
}
return "Ambry";
};
export default {
expo: {
name: getAppName(),
slug: "ambry-mobile",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/images/icon.png",
scheme: "ambry",
newArchEnabled: false,
userInterfaceStyle: "dark",
backgroundColor: "#000000",
primaryColor: "#84cc16",
ios: {
supportsTablet: false,
bundleIdentifier: getUniqueIdentifier(),
infoPlist: {
UIBackgroundModes: ["audio"],
},
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: IS_DEV ? "#f59e0b" : "#84cc16",
},
package: getUniqueIdentifier(),
},
plugins: [
"expo-router",
"expo-secure-store",
[
"expo-splash-screen",
{
image: "./assets/images/splash-icon.png",
imageWidth: 200,
resizeMode: "contain",
backgroundColor: "#18181b",
},
],
"react-native-edge-to-edge",
],
experiments: {
typedRoutes: true,
},
owner: "ambry-app",
extra: {
eas: {
projectId: "47185dc5-b1cf-48be-8e0d-9bec4dfac948",
},
},
},
};