-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.js
More file actions
50 lines (47 loc) · 1.12 KB
/
app.config.js
File metadata and controls
50 lines (47 loc) · 1.12 KB
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
import path from "path";
require("dotenv").config({ path: path.join(__dirname, ".env") });
console.log("app.config.js ENV", process.env.MY_TEST_VALUE);
if (!process.env.MY_TEST_VALUE) {
throw new Error("nope");
}
module.exports = (config) => {
return {
...config,
name: "issue-eas-env",
slug: "issue-eas-env",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "light",
splash: {
image: "./assets/splash.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: true,
},
android: {
package: "com.derkjan.issueeasenv",
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#ffffff",
},
},
web: {
favicon: "./assets/favicon.png",
},
extra: {
eas: {
projectId: "7437a1bf-7319-4a91-837c-cd448fc992b2",
},
},
updates: {
url: "https://u.expo.dev/7437a1bf-7319-4a91-837c-cd448fc992b2",
},
runtimeVersion: {
policy: "sdkVersion",
},
};
};