-
-
Notifications
You must be signed in to change notification settings - Fork 156
/
app.config.js
49 lines (47 loc) · 1.18 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
//TODO: check if this import is needed, since secrets are in eas, it might not be the case
import "dotenv/config";
const buildNumber = 50;
module.exports = () => {
return {
name: "NMF.earth",
plugins: ["sentry-expo",
"expo-localization"],
slug: "not-my-fault-earth",
privacy: "public",
platforms: ["ios", "android"],
version: "0.10.0",
orientation: "portrait",
splash: {
image: "./assets/images/splash.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
icon: "./assets/images/ios.icon.png",
bundleIdentifier: "nmf.earth",
supportsTablet: true,
buildNumber: buildNumber.toString(),
},
android: {
icon: "./assets/images/android.icon.png",
package: "nmf.earth",
versionCode: buildNumber,
},
hooks: {
postPublish: [
{
file: "sentry-expo/upload-sourcemaps",
config: {
organization: "nmf",
project: "nmf-earth",
authToken: process.env.SENTRY_AUTH_TOKEN,
},
},
],
},
};
};