-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathapp.config.js
65 lines (64 loc) · 1.7 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
import "dotenv/config";
module.exports = {
name: "Moje Rośliny",
slug: "myplants",
version: "1.2.9",
privacy: "public",
scheme: "com.benmotyka.myplants",
description:
"My plants is an application that allows you to track watering of your plants.",
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "light",
// @TODO: add splash screen
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: true,
bundleIdentifier: "com.benmotyka.myplants",
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/icons/adaptive.png",
backgroundColor: "#FFFFFF",
},
package: "com.benmotyka.myplants",
googleServicesFile: "./keys/google-services.json",
versionCode: 21,
},
web: {
favicon: "./assets/icon.png",
},
plugins: [
"sentry-expo",
"expo-localization",
[
"expo-notifications",
{
"icon": "./assets/icons/adaptive.png",
"color": "#ffffff",
}
]
],
extra: {
apiUrl: process.env.API_URL,
sentryDsn: process.env.SENTRY_DSN,
eas: {
projectId: "9b57b4b7-39d0-474c-9ffb-3f5d617bcabd",
},
},
hooks: {
postPublish: [
{
file: "sentry-expo/upload-sourcemaps",
config: {
organization: process.env.SENTRY_ORGANIZATION,
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTHTOKEN,
},
},
],
},
};