-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.config.js
42 lines (41 loc) · 963 Bytes
/
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
import "react-native-dotenv";
export default {
expo: {
name: "boilerplate",
slug: "boilerplate",
version: "1.0.0",
orientation: "portrait",
icon: ".src/assets/images/icon.png",
userInterfaceStyle: "light",
splash: {
image: ".src/assets/images/splash.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: true,
},
android: {
adaptiveIcon: {
foregroundImage: ".src/assets/images/adaptive-icon.png",
backgroundColor: "#FFFFFF",
},
},
web: {
favicon: ".src/assets/images/favicon.png",
},
extra: {
apiKey: process.env.API_KEY,
authDomain: process.env.AUTH_DOMAIN,
projectId: process.env.PROJECT_ID,
storageBucket: process.env.STORAGE_BUCKET,
messagingSenderId: process.env.MESSAGING_SENDER_ID,
appId: process.env.APP_ID,
measurementId: process.env.MEASUREMENT_ID,
},
},
};