-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.ts
More file actions
92 lines (89 loc) · 2.11 KB
/
app.config.ts
File metadata and controls
92 lines (89 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
import { ExpoConfig } from "expo/config";
const isProduction = process.env.EAS_BUILD_PROFILE === "production";
const config: ExpoConfig = {
version: process.env.APP_VERSION || "2026.0",
name: "QRU?",
slug: "qru",
orientation: "portrait",
platforms: ["ios", "android", "web"],
icon: isProduction
? "./assets/images/icon.png"
: "./assets/images/icon-dev.png",
scheme: "qru",
userInterfaceStyle: "automatic",
ios: {
supportsTablet: true,
bundleIdentifier: `com.jonsamp.qru${isProduction ? "" : "-dev"}`,
infoPlist: {
ITSAppUsesNonExemptEncryption: false,
},
},
android: {
permissions: [
"android.permission.CAMERA",
"android.permission.RECORD_AUDIO",
],
package: `com.jonsamp.qru${isProduction ? "" : "_dev"}`,
icon: isProduction
? "./assets/images/icon.png"
: "./assets/images/icon-dev.png",
adaptiveIcon: {
foregroundImage: isProduction
? "./assets/images/adaptive-foreground.png"
: "./assets/images/adaptive-foreground-dev.png",
backgroundImage: "./assets/images/adaptive-background.png",
},
},
web: {
bundler: "metro",
output: "static",
},
plugins: [
"expo-image",
"expo-web-browser",
"expo-router",
[
"expo-splash-screen",
{
image: "./assets/images/splash-icon.png",
imageWidth: 125,
backgroundColor: "#1c1917",
},
],
[
"expo-camera",
{
cameraPermission: "The camera will be used to scan QR codes.",
},
],
[
"expo-font",
{
fonts: [
"./assets/fonts/JetBrainsMonoNL-Regular.ttf",
"./assets/fonts/JetBrainsMonoNL-Bold.ttf",
"./assets/fonts/JetBrainsMonoNL-Italic.ttf",
],
},
],
],
experiments: {
typedRoutes: true,
},
extra: {
router: {
origin: false,
},
eas: {
projectId: "6be970d1-0dae-48d5-83c8-d146a03d0095",
},
},
runtimeVersion: {
policy: "appVersion",
},
updates: {
url: "https://u.expo.dev/6be970d1-0dae-48d5-83c8-d146a03d0095",
},
owner: "jonsamp",
};
export default config;