forked from koh1project/amiGoesFrontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.ts
48 lines (47 loc) · 1.16 KB
/
app.config.ts
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
import { ExpoConfig } from '@expo/config-types';
import dotenv from 'dotenv';
dotenv.config();
export default (): ExpoConfig => {
return {
name: 'my-app1',
slug: 'my-app',
version: '1.0.0',
orientation: 'portrait',
icon: './assets/icon.png',
scheme: 'com.eevee.amigoes',
userInterfaceStyle: 'light',
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['**/*'],
ios: {
supportsTablet: true,
},
android: {
package: 'com.eevee.amigoes',
googleServicesFile: './google-services.json',
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#FFFFFF',
},
permissions: [
'ACCESS_FINE_LOCATION',
'ACCESS_COARSE_LOCATION',
'ACCESS_BACKGROUND_LOCATION',
],
},
web: {
favicon: './assets/favicon.png',
},
extra: {
URL: process.env.URL,
INITIAL_SCREEN: process.env.INITIAL_SCREEN || 'Index',
GOOGLE_MAPS_API_KEY: process.env.GOOGLE_MAPS_API_KEY,
},
};
};