-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.js
52 lines (52 loc) · 1.25 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
export default {
expo: {
name: 'reachliao',
slug: 'reachliao',
version: '1.1.0',
orientation: 'portrait',
icon: './assets/icon2.png',
userInterfaceStyle: 'light',
splash: {
image: './assets/splash2.png',
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['**/*'],
ios: {
userInterfaceStyle: 'light',
supportsTablet: true,
infoPlist: {
UIBackgroundModes: ['location', 'fetch'],
NSLocationAlwaysUsageDescription:
'App requires location even when the App is backgrounded.',
},
},
android: {
userInterfaceStyle: 'light',
softwareKeyboardLayoutMode: 'pan',
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon2.png',
backgroundColor: '#FFFFFF',
},
package: 'com.reachliao',
config: {
googleMaps: {
apiKey: process.env.GOOGLE_MAPS_API_KEY,
},
},
permissions: [
'ACCESS_COARSE_LOCATION',
'ACCESS_FINE_LOCATION',
'ACCESS_BACKGROUND_LOCATION',
'FOREGROUND_SERVICE',
'VIBRATE',
],
},
web: {
favicon: './assets/favicon.png',
},
},
};