-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathapp.config.js
46 lines (45 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
import 'dotenv/config';
import process from 'process';
export default {
expo: {
name: 'react-native-chat',
slug: 'react-native-chat',
version: '1.0.0',
orientation: 'portrait',
icon: 'src/assets/icon.png',
userInterfaceStyle: 'light',
entryPoint: './src/App.js',
splash: {
image: 'src/assets/splash.png',
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
assetBundlePatterns: ['**/*'],
ios: {
supportsTablet: true,
},
android: {
adaptiveIcon: {
foregroundImage: 'src/assets/adaptive-icon.png',
backgroundColor: '#ffffff',
},
package: 'com.ctere1.reactnativechat',
},
web: {
favicon: 'src/assets/favicon.png',
},
newArchEnabled: true,
extra: {
apiKey: process.env.EXPO_PUBLIC_API_KEY,
authDomain: process.env.EXPO_PUBLIC_AUTH_DOMAIN,
projectId: process.env.EXPO_PUBLIC_PROJECT_ID,
storageBucket: process.env.EXPO_PUBLIC_STORAGE_BUCKET,
messagingSenderId: process.env.EXPO_PUBLIC_MESSAGING_SENDER_ID,
appId: process.env.EXPO_PUBLIC_APP_ID,
measurementId: process.env.EXPO_PUBLIC_MEASUREMENT_ID,
eas: {
projectId: process.env.EXPO_PUBLIC_EAS_PROJECT_ID,
},
},
},
};