-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.ts
40 lines (39 loc) · 965 Bytes
/
app.config.ts
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
import { ExpoConfig, ConfigContext } from "@expo/config";
import "dotenv/config";
export default ({ config }: ConfigContext): ExpoConfig => {
return {
name: "pengin",
slug: "pengin",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/images/icon.png",
scheme: "myapp",
userInterfaceStyle: "automatic",
splash: {
image: "./assets/images/splash.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: true,
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/images/icon.png",
backgroundColor: "#ffffff",
},
},
web: {
favicon: "./assets/images/favicon.png",
},
extra: {
env: process.env.ENV || "development",
apiRoot: process.env.API_ROOT,
graphqlPath: process.env.GRAPHQL_PATH,
},
};
};