forked from NMF-earth/nmf-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.js
53 lines (51 loc) · 1.24 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
//TODO: check if this import is needed, since secrets are in eas, it might not be the case
import "dotenv/config";
const buildNumber = 44;
module.exports = () => {
return {
name: "NMF.earth",
plugins: ["sentry-expo"],
slug: "not-my-fault-earth",
privacy: "public",
platforms: ["ios", "android"],
version: "0.9.2",
orientation: "portrait",
splash: {
image: "./assets/images/splash.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
extra: {
eas: {
projectId: "9e1873d6-966a-49a3-83bc-10254ac6fb27",
},
},
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,
},
},
],
},
};
};