Repository navigation
Expand file tree
/
Copy pathapp.config.js
More file actions
133 lines (125 loc) · 3.36 KB
/
Copy pathapp.config.js
File metadata and controls
133 lines (125 loc) · 3.36 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
import "dotenv/config";
const IS_DEV = process.env.APP_VARIANT === "development";
const IS_PREVIEW = process.env.APP_VARIANT === "preview";
const getUniqueIdentifier = () => {
if (IS_DEV) {
return "com.jobflow.app.dev";
}
if (IS_PREVIEW) {
return "com.jobflow.app.preview";
}
return "com.jobflow.app";
};
const getAppName = () => {
if (IS_DEV) {
return "Job Flow (Dev)";
}
if (IS_PREVIEW) {
return "Job Flow (Preview)";
}
return "Job Flow";
};
export default {
expo: {
name: getAppName(),
slug: "job-flow",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/icons/adaptive-icon.png",
scheme: "jobflow",
owner: "iamwyteshadow",
userInterfaceStyle: "automatic",
newArchEnabled: true,
ios: {
supportsTablet: true,
bundleIdentifier: getUniqueIdentifier(),
config: {
useNonExemptEncryption: false,
},
icons: {
dark: "./assets/icons/ios-dark.png",
light: "./assets/icons/ios-light.png",
tinted: "./assets/icons/ios-tinted.png",
backgroundColor: "#ffffff",
},
infoPlist: {
NSPhotoLibraryUsageDescription:
"This app needs access to your photo library to allow you to upload or view documents.",
NSCameraUsageDescription:
"This app may use the camera to scan or capture documents.",
NSMicrophoneUsageDescription:
"This app uses the microphone to record audio notes for job applications.",
NSLocalNotificationUsageDescription:
"Job Flow uses notifications to remind you of deadlines and job updates.",
UIBackgroundModes: ["audio", "fetch", "remote-notification"],
},
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/icons/adaptive-icon.png",
monochromeImage: "./assets/icons/adaptive-icon.png",
backgroundColor: "#ffffff",
},
package: getUniqueIdentifier(),
permissions: [
"android.permission.POST_NOTIFICATIONS",
],
},
web: {
bundler: "metro",
output: "static",
favicon: "./assets/icons/adaptive-icon.png",
},
plugins: [
"expo-router",
[
"expo-splash-screen",
{
image: "./assets/icons/splash-icon-dark.png",
imageWidth: 160,
resizeMode: "contain",
backgroundColor: "#000000",
dark: {
image: "./assets/icons/splash-icon-dark.png",
backgroundColor: "#000000",
},
},
],
[
"expo-media-library",
{
photosPermission:
"Allow Job Flow to access your photos for resume or cover letter uploads.",
savePhotosPermission:
"Allow Job Flow to save documents or images to your library.",
},
],
[
"expo-notifications",
{
icon: "./assets/icons/splash-icon-light.png",
color: "#ffffff",
},
],
[
"@react-native-google-signin/google-signin",
{
iosUrlScheme:
"com.googleusercontent.apps.48569113184-jb8ju9fcu8f61qkj0arnc98l2dfi7d0b",
},
],
],
experiments: {
typedRoutes: true,
},
extra: {
router: {
origin: false,
},
eas: {
projectId: "1a3825d8-ddde-4e78-9295-89856a50e31c",
},
},
scheme: "jobflow",
},
};