-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config.ts
More file actions
98 lines (93 loc) · 2.11 KB
/
Copy pathapp.config.ts
File metadata and controls
98 lines (93 loc) · 2.11 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
const LuxAIChat = {
name: "LuxAI Chat",
icon: "./assets/images/app-icon.png",
androidPackage: "com.luxai.ragchat",
splashScreenConfig: {
backgroundColor: "#fff",
image: "./assets/images/splash-icon-lightmode.png",
dark: {
image: "./assets/images/splash-icon-darkmode.png",
backgroundColor: "#151718",
},
imageWidth: 200,
},
}
const MotorolaChat = {
name: "Moto Chat Razr 60 Ultra",
icon: "./assets/images/motorola_icon.png",
androidPackage: "com.luxai.razr60ultra",
splashScreenConfig: {
backgroundColor: "#fff",
image: "./assets/images/motorola_splash_screen.png",
dark: {
image: "./assets/images/motorola_splash_screen.png",
backgroundColor: "#151718",
},
imageWidth: 200,
resizeMode: "contain",
},
}
const AppVersion = process.env.EXPO_PUBLIC_APP === "MOTOROLA"? MotorolaChat: LuxAIChat;
export default {
expo: {
name: AppVersion.name,
slug: "rag-chat",
version: "1.2.1",
orientation: "portrait",
icon: AppVersion.icon,
scheme: "ragchat",
userInterfaceStyle: "automatic",
newArchEnabled: true,
ios: {
supportsTablet: true,
},
androidStatusBar: {
barStyle: "light-content",
},
android: {
edgeToEdgeEnabled: true,
package: AppVersion.androidPackage,
versionCode: 5
},
web: {
bundler: "metro",
output: "static",
favicon: "./assets/images/favicon.png",
},
plugins: [
"expo-router",
"expo-font",
"expo-web-browser",
[
"expo-build-properties",
{
android: {
minSdkVersion: 26,
usesCleartextTraffic: true
},
},
],
[
"expo-splash-screen",
AppVersion.splashScreenConfig
],
[
"expo-notifications",
{
icon: "./assets/images/notification_icon.png",
color: "#ffffff",
}
]
],
experiments: {
typedRoutes: true,
},
extra: {
router: {},
eas: {
projectId: "f1a5c265-00fc-4ff7-8693-776a89435678",
},
},
},
};
export { AppVersion };