-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config.js
More file actions
55 lines (52 loc) · 1.27 KB
/
app.config.js
File metadata and controls
55 lines (52 loc) · 1.27 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
51
52
53
54
55
const versions = {
main: '3.0.6',
ios: '4',
android: 17,
}
const IOS_GOOGLE_MAP_API_KEY = 'AIzaSyAeW2OZIBAcgMncxw7BcZOuf2EUnL9xxxk'
const ANDROID_GOOGLE_MAP_API_KEY = 'AIzaSyAMokc0eF4l5_HGuMBGGgVOIKsw8BQCccU'
const config = {
expo: {
name: 'SunNUS',
slug: 'SunNUS',
version: '3.0.6',
orientation: 'portrait',
icon: './assets/icon.png',
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['**/*'],
ios: {
config: {
// googleMapsApiKey: process.env.IOS_GOOGLE_MAP_API_KEY,
googleMapsApiKey: IOS_GOOGLE_MAP_API_KEY,
},
buildNumber: versions.ios,
supportsTablet: true,
bundleIdentifier: 'com.nus.sunnus',
},
android: {
config: {
googleMaps: {
// apiKey: process.env.ANDROID_GOOGLE_MAP_API_KEY,
apiKey: ANDROID_GOOGLE_MAP_API_KEY,
},
},
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#FFFFFF',
},
package: 'com.nus.sunnus',
versionCode: versions.android,
},
web: {
favicon: './assets/favicon.png',
},
},
}
export default config