forked from expo/appjs24-workflows-workshop-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.ts
More file actions
78 lines (76 loc) · 2.02 KB
/
app.config.ts
File metadata and controls
78 lines (76 loc) · 2.02 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
import "ts-node/register";
import { ExpoConfig } from "expo/config";
const IS_DEV = process.env.APP_VARIANT === "development";
module.exports = ({ config }: { config: ExpoConfig }) => {
return {
expo: {
name: IS_DEV ? "Art Museum (Dev)" : "Art Museum",
slug: "appjs24-workflows-workshop-code",
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",
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: true,
bundleIdentifier:
"com.expo.appjs24-workflows-workshop-code" + (IS_DEV ? "-dev" : ""),
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: "#ffffff",
},
package:
"com.expo.appjs24workflowsworkshopcode" + (IS_DEV ? "dev" : ""),
},
web: {
bundler: "metro",
favicon: "./assets/images/favicon.png",
},
plugins: [
["expo-router"],
"react-native-image-marker",
[
"expo-quick-actions",
{
androidIcons: {
fav_icon: {
foregroundImage: "./assets/images/adaptive-icon-fav.png",
backgroundColor: "#29cfc1",
},
},
iosIcons: {
fav_icon: "./assets/images/fav.png",
},
},
],
["./plugins/withWidget.ts"],
],
experiments: {
typedRoutes: true,
},
runtimeVersion: {
policy: "appVersion",
},
extra: {
router: {
origin: false,
},
eas: {
projectId: "88f614ca-b325-4e16-b040-f5ef3d6da9f1",
},
},
owner: "ench",
updates: {
url: "https://u.expo.dev/88f614ca-b325-4e16-b040-f5ef3d6da9f1",
},
},
};
};