-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapp.config.js
113 lines (110 loc) · 2.92 KB
/
app.config.js
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
111
112
113
import withAndroidLocalizedName from "@mmomtchev/expo-android-localized-app-name";
import withAndroidLargeHeap from "./plugins/withAndroidLargeHeap";
const IS_DEV = process.env.APP_VARIANT === "development";
const config = {
name: "Conch Bay",
slug: "conch-bay",
version: "2.2.0",
orientation: "portrait",
userInterfaceStyle: "automatic",
icon: IS_DEV ? "./assets/icon-dev.png" : "./assets/icon.png",
updates: {
fallbackToCacheTimeout: 0,
},
locales: {
en: "./i18n/locales/en.json",
ja: "./i18n/locales/ja.json",
"zh-Hans": "./i18n/locales/zh-Hans.json",
"zh-Hant": "./i18n/locales/zh-Hant.json",
},
assetBundlePatterns: ["**/*"],
plugins: [
withAndroidLargeHeap,
withAndroidLocalizedName,
"expo-localization",
[
"expo-build-properties",
{
ios: {
deploymentTarget: "15.5",
},
},
],
["expo-sqlite"],
],
splash: {
image: "./assets/splash.png",
backgroundColor: "#FAFAFA",
},
ios: {
bundleIdentifier: IS_DEV ? "name.sketch.ConchBay.dev" : "name.sketch.ConchBay",
buildNumber: "174",
config: {
usesNonExemptEncryption: false,
},
supportsTablet: true,
infoPlist: {
CFBundleAllowMixedLocalizations: true,
UIBackgroundModes: ["fetch"],
},
splash: {
image: "./assets/splash.png",
backgroundColor: "#FAFAFA",
dark: {
image: "./assets/splash.png",
backgroundColor: "#18181B",
},
},
privacyManifests: {
NSPrivacyAccessedAPITypes: [
{
NSPrivacyAccessedAPIType: "NSPrivacyAccessedAPICategoryDiskSpace",
NSPrivacyAccessedAPITypeReasons: ["E174.1"],
},
{
NSPrivacyAccessedAPIType: "NSPrivacyAccessedAPICategoryFileTimestamp",
NSPrivacyAccessedAPITypeReasons: ["DDA9.1"],
},
{
NSPrivacyAccessedAPIType: "NSPrivacyAccessedAPICategoryUserDefaults",
NSPrivacyAccessedAPITypeReasons: ["1C8F.1"],
},
{
NSPrivacyAccessedAPIType: "NSPrivacyAccessedAPICategorySystemBootTime",
NSPrivacyAccessedAPITypeReasons: ["3D61.1"],
},
],
},
},
android: {
package: IS_DEV ? "name.sketch.conch_bay.dev" : "name.sketch.conch_bay",
versionCode: 174,
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: IS_DEV ? "#FFFFFF" : "#6B84F5",
},
splash: {
image: "./assets/splash.png",
backgroundColor: "#FAFAFA",
dark: {
image: "./assets/splash.png",
backgroundColor: "#18181B",
},
},
intentFilters: [
{
autoVerify: true,
action: "VIEW",
data: { scheme: "npf71b963c1b7b6d119" },
category: ["BROWSABLE", "DEFAULT"],
},
],
},
scheme: IS_DEV ? "conchbaydev" : "conchbay",
extra: {
eas: {
projectId: "6dc18d15-fec6-4bb7-a5c3-b91f9137d933",
},
},
};
export default config;