-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.js
More file actions
executable file
·66 lines (65 loc) · 1.56 KB
/
Copy pathapp.config.js
File metadata and controls
executable file
·66 lines (65 loc) · 1.56 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
// Load environment variables from .env file
require('dotenv').config();
export default {
expo: {
name: "PickMe Games",
slug: "readyplayerone",
version: "1.1.0",
orientation: "portrait",
icon: "./assets/images/pickmelogo.png",
userInterfaceStyle: "light",
scheme: "readyplayerone",
newArchEnabled: true,
experiments: {
typedRoutes: true
},
plugins: [
"expo-router",
[
"expo-splash-screen",
{
image: "./assets/images/pickmelogo.png",
imageWidth: 200,
resizeMode: "contain",
backgroundColor: "#F3E889"
}
],
"expo-web-browser"
],
splash: {
image: "./assets/images/pickmelogo.png",
resizeMode: "contain",
backgroundColor: "#F3E889"
},
android: {
package: "com.pattar.readyplayerone",
adaptiveIcon: {
foregroundImage: "./assets/images/pickmelogo.png",
backgroundColor: "#F3E889"
}
},
ios: {
bundleIdentifier: "com.pattar.readyplayerone",
supportsTablet: true,
infoPlist: {
ITSAppUsesNonExemptEncryption: false
}
},
web: {
bundler: "metro",
output: "static",
favicon: "./assets/images/pickmelogo.png"
},
extra: {
router: {
origin: false
},
eas: {
projectId: "6a2464bb-6122-4c32-96d7-4b4b58a7f612"
},
// Safely pass environment variables to the app
POSTHOG_API_KEY: process.env.POSTHOG_API_KEY || null,
POSTHOG_HOST: process.env.POSTHOG_HOST || null,
},
}
};