-
Notifications
You must be signed in to change notification settings - Fork 43
/
app.config.ts
110 lines (108 loc) · 2.9 KB
/
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
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
import { ExpoConfig, ConfigContext } from "@expo/config"
import { version } from "./package.json"
const BUILD_NUMBER = 9
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: "Chain React App 2023",
slug: "ChainReactApp2023",
scheme: "chainreactapp",
version,
orientation: "portrait",
icon: "./assets/images/app-icon-all.png",
splash: {
image: "./assets/images/splash-logo-all.png",
resizeMode: "contain",
backgroundColor: "#081828",
},
updates: {
checkAutomatically: "ON_ERROR_RECOVERY",
enabled: true,
fallbackToCacheTimeout: 0,
url: "https://u.expo.dev/b72c79d7-7c87-4aa7-b964-998dcff69e07",
},
runtimeVersion: {
policy: "sdkVersion",
},
jsEngine: "hermes",
assetBundlePatterns: ["**/*"],
android: {
icon: "./assets/images/app-icon-android-legacy.png",
package: "com.chainreactapp",
versionCode: BUILD_NUMBER,
adaptiveIcon: {
foregroundImage: "./assets/images/app-icon-android-adaptive-foreground.png",
backgroundImage: "./assets/images/app-icon-android-adaptive-background.png",
},
splash: {
image: "./assets/images/splash-logo-android-universal.png",
resizeMode: "contain",
backgroundColor: "#081828",
},
googleServicesFile: `./google-services.json`,
intentFilters: [
{
action: "VIEW",
data: { scheme: "https" },
},
{
action: "VIEW",
data: { scheme: "google.navigation" },
},
{
action: "VIEW",
data: { scheme: "geo" },
},
{
action: "SEND",
data: { scheme: "mailto" },
},
],
},
ios: {
icon: "./assets/images/app-icon-ios.png",
supportsTablet: false,
bundleIdentifier: "infinitered.stage.ChainReactConf",
buildNumber: String(BUILD_NUMBER),
splash: {
image: "./assets/images/splash-logo-ios-mobile.png",
tabletImage: "./assets/images/splash-logo-ios-tablet.png",
resizeMode: "contain",
backgroundColor: "#081828",
},
googleServicesFile: `./GoogleService-Info.plist`,
infoPlist: {
UIBackgroundModes: ["fetch", "remote-notification"],
UIStatusBarHidden: true,
},
},
web: {
favicon: "./assets/images/app-icon-web-favicon.png",
splash: {
image: "./assets/images/splash-logo-web.png",
resizeMode: "contain",
backgroundColor: "#081828",
},
},
owner: "infinitered",
extra: {
eas: {
projectId: "b72c79d7-7c87-4aa7-b964-998dcff69e07",
},
},
plugins: [
"@react-native-firebase/app",
"@react-native-firebase/crashlytics",
["expo-build-properties", { ios: { useFrameworks: "static" } }],
["expo-updates", { username: "infinitered" }],
["expo-localization"],
[
"expo-build-properties",
{
android: {
enableProguardInReleaseBuilds: true,
enableShrinkResourcesInReleaseBuilds: true,
},
},
],
],
})