-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapp.config.js
61 lines (59 loc) · 1.58 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
import 'dotenv/config';
const config = {
NEWS_API_KEY: process.env.NEWS_API_KEY,
FB_DB_URL: process.env.FB_DB_URL,
FB_API_KEY: process.env.FB_API_KEY,
FB_AUTH_DOMAIN: process.env.FB_AUTH_DOMAIN,
FB_PROJECT_ID: process.env.FB_PROJECT_ID,
FB_STORAGE_BUCKET: process.env.FB_STORAGE_BUCKET,
FB_MSG_SENDER_ID: process.env.FB_MSG_SENDER_ID,
FB_APP_ID: process.env.FB_APP_ID,
GOOGLE_API_KEY: process.env.GOOGLE_API_KEY,
};
export default {
name: 'RN Videogames Ecommerce',
slug: 'rn-videogames-ecommerce',
version: '1.0.0',
orientation: 'portrait',
icon: './assets/icon.png',
splash: {
image: './assets/splash.png',
resizeMode: 'cover',
backgroundColor: '#C99E3A',
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['**/*'],
ios: {
supportsTablet: true,
},
android: {
package: 'com.videogames.ecommerce',
versionCode: 1,
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#562505',
},
permissions: ['CAMERA', 'ACCESS_FINE_LOCATION', 'WRITE_EXTERNAL_STORAGE'],
config: {
googleMaps: {
apiKey: config.GOOGLE_API_KEY,
},
},
},
web: {
favicon: './assets/favicon.png',
},
extra: {
NEWS_API_KEY: config.NEWS_API_KEY,
FB_DB_URL: config.FB_DB_URL,
FB_API_KEY: config.FB_API_KEY,
FB_AUTH_DOMAIN: config.FB_AUTH_DOMAIN,
FB_PROJECT_ID: config.FB_PROJECT_ID,
FB_STORAGE_BUCKET: config.FB_STORAGE_BUCKET,
FB_MSG_SENDER_ID: config.FB_MSG_SENDER_ID,
FB_APP_ID: config.FB_APP_ID,
GOOGLE_API_KEY: config.GOOGLE_API_KEY,
},
};