-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.config.js
More file actions
75 lines (74 loc) · 1.92 KB
/
app.config.js
File metadata and controls
75 lines (74 loc) · 1.92 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
import "dotenv/config";
export default {
expo: {
name: "PestDetection",
slug: "PestDetection",
version: "1.0.1",
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "light",
newArchEnabled: true,
splash: {
image: "./assets/splash-icon.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
ios: {
supportsTablet: true,
},
android: {
package: "com.pestidentifier.pestidentifier",
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#ffffff",
},
permissions: [
"android.permission.CAMERA",
"android.permission.RECORD_AUDIO",
],
},
web: {
favicon: "./assets/favicon.png",
},
extra: {
eas: {
projectId: "4726d6af-f691-402d-a1fc-979546cfd0f9",
},
firebaseApiKey: process.env.FIREBASE_API_KEY,
firebaseAuthDomain: process.env.FIREBASE_AUTH_DOMAIN,
firebaseProjectId: process.env.FIREBASE_PROJECT_ID,
firebaseStorageBucket: process.env.FIREBASE_STORAGE_BUCKET,
firebaseMessagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID,
firebaseAppId: process.env.FIREBASE_APP_ID,
},
plugins: [
[
"expo-camera",
{
cameraPermission: "Allow Shine to access your camera",
microphonePermission: "Allow Shine to access your microphone",
recordAudioAndroid: true,
},
],
[
"expo-image-picker",
{
photosPermission:
"PestIdentification wants to accesses your photos to capture the images.",
},
],
[
"expo-build-properties",
{
android: { usesCleartextTraffic: true },
},
],
],
runtimeVersion: {
policy: "appVersion",
},
updates: {
url: "https://u.expo.dev/4726d6af-f691-402d-a1fc-979546cfd0f9",
},
},
};