Open History to see the last commit
1import type { ExpoConfig } from "expo/config";
2
3const DEV_ICON = "./assets/t3-blueprint-icon.png";
4const PROD_ICON = "./assets/t3-icon.png";
5
6const isDevelopment = process.env.NODE_ENV !== "production";
7const iconPath = isDevelopment ? DEV_ICON : PROD_ICON;
8
9const config: ExpoConfig = {
10 name: "T3 Code Mobile",
11 slug: "t3-code-mobile",
12 version: "0.1.0",
13 orientation: "portrait",
14 icon: iconPath,
15 userInterfaceStyle: "automatic",
16 splash: {
17 image: iconPath,
18 resizeMode: "contain",
19 backgroundColor: "#f8fafc",
20 },
21 ios: {
22 supportsTablet: true,
23 },
24 android: {
25 adaptiveIcon: {
26 backgroundColor: "#E6F4FE",
27 foregroundImage: iconPath,
28 monochromeImage: iconPath,
29 },
30 predictiveBackGestureEnabled: false,
31 },
32 web: {
33 favicon: iconPath,
34 },
35};
36
37export default config;