This repository has been archived by the owner on Apr 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.js
51 lines (51 loc) · 1.5 KB
/
app.config.js
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
export default () => ({
expo: {
name: "Siti",
slug: "siti",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "light",
splash: {
image: "./assets/splash.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: true,
},
android: {
config: {
googleMaps: {
apiKey: process.env.GOOGLE_API_KEY,
},
},
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#FFFFFF",
},
permissions: ["android.permission.RECORD_AUDIO"],
package: "com.dzajlopment.siti",
},
plugins: [
[
"expo-image-picker",
{
cameraPermission: "The app needs access to your camera in order to take photos.",
photosPermission: "The app accesses your photos to let you share them in reports.",
},
],
],
extra: {
eas: {
projectId: "674111fa-2fd1-40fa-99d0-2cdb667826df",
},
GOOGLE_API_KEY: process.env.GOOGLE_API_KEY,
BACKEND_URL: process.env.BACKEND_URL,
},
},
});