Repository navigation
Expand file tree
/
Copy pathapp.config.js
More file actions
140 lines (140 loc) · 3.88 KB
/
Copy pathapp.config.js
File metadata and controls
140 lines (140 loc) · 3.88 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
134
135
136
137
138
139
140
module.exports = {
expo: {
name: "Itchy",
slug: "itchy-native",
version: "2.8.1",
scheme: "itchy",
newArchEnabled: true,
orientation: "default",
plugins: [
"@react-native-firebase/app",
"@react-native-firebase/crashlytics",
// "./plugins/withFirebaseStaticFrameworkFix.js",
[
"expo-build-properties",
{
ios: {
useFrameworks: "static",
reactNativeReleaseLevel: "experimental",
deploymentTarget: "16.4",
// forceStaticLinking: ["RNFBApp"],
},
android: {
compileSdkVersion: 36,
targetSdkVersion: 35,
buildToolsVersion: "35.0.0",
kotlinVersion: "2.2.20",
reactNativeReleaseLevel: "experimental",
},
},
],
"expo-router",
"@react-native-vector-icons/ionicons",
"react-native-bottom-tabs",
[
"expo-asset",
{
assets: [
"assets/icons/search_24_black.png",
"assets/icons/search_24_white.png",
],
},
],
"expo-image",
"expo-status-bar",
"expo-sharing",
[
"react-native-edge-to-edge",
{
android: {
parentTheme: "Material3",
enforceNavigationBarContrast: false,
},
},
],
[
"expo-image-picker",
{
photosPermission:
"Allow Itchy to access your photos to upload a profile picture.",
colors: {
cropToolbarColor: "#000000",
},
dark: {
colors: {
cropToolbarColor: "#000000",
},
},
},
],
[
"expo-font",
{
fonts: [
"./node_modules/@expo-google-fonts/inter/400Regular/Inter_400Regular.ttf",
"./node_modules/@expo-google-fonts/inter/700Bold/Inter_700Bold.ttf",
"./node_modules/@expo-google-fonts/inter/900Black/Inter_900Black.ttf",
],
},
],
[
"expo-screen-orientation",
{
initialOrientation: "DEFAULT",
},
],
["expo-gradle-jvmargs", { xmx: "4g", maxMetaspace: "1024m" }],
],
splash: {
image: "./assets/splash.png",
backgroundColor: "#0082FF",
},
userInterfaceStyle: "automatic",
android: {
versionCode: 82,
package: "org.scratchclient4.itchy",
adaptiveIcon: {
backgroundColor: "#0082FF",
foregroundImage: "./assets/icon-foreground.png",
monochromeImage: "./assets/icon-monochrome.png",
},
predictiveBackGestureEnabled: false,
googleServicesFile:
process.env.GOOGLE_SERVICES_JSON ?? "./google-services.json",
permissions: [
"android.permission.VIBRATE",
"android.permission.CAMERA",
"android.permission.RECORD_AUDIO",
"android.permission.MICROPHONE",
"android.permission.MODIFY_AUDIO_SETTINGS",
],
},
ios: {
bundleIdentifier: "org.scratchclient4.itchy",
buildNumber: "82",
icon: "./assets/iosicon.icon",
supportsTablet: true,
config: {
usesNonExemptEncryption: false,
},
infoPlist: {
NSCameraUsageDescription:
"Itchy needs access to the camera to support projects that include camera features.",
NSMicrophoneUsageDescription:
"Itchy needs access to your microphone to support projects that include audio features.",
ITSAppUsesNonExemptEncryption: false,
EXDefaultScreenOrientationMask:
"UIInterfaceOrientationMaskAllButUpsideDown",
},
googleServicesFile:
process.env.GOOGLE_SERVICES_PLIST ?? "./GoogleService-Info.plist",
},
extra: {
router: {},
eas: {
projectId: "e49aa4db-4fa4-4ccc-a105-1a16aa4084e4",
},
},
owner: "itchy-team",
},
};