-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.js
executable file
·57 lines (55 loc) · 1.46 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
let Config = {
apiUrl: 'https://fakestoreapi.com',
};
if (process.env.APP_ENV === 'production') {
Config.apiUrl = 'https://fakestoreapi.com';
} else if (process.env.APP_ENV === 'staging') {
Config.apiUrl = 'https://fakestoreapi.com';
} else if (process.env.APP_ENV === 'development') {
Config.apiUrl = 'https://fakestoreapi.com';
}
export default () => ({
expo: {
name: 'Come buy',
slug: 'come-buy',
version: '1.0.0',
jsEngine: 'hermes',
owner: 'shyweirdo',
orientation: 'portrait',
icon: './src/assets/images/icon.png',
privacy: 'public',
platforms: ['ios', 'android'],
splash: {
image: './src/assets/images/splash.png',
resizeMode: 'cover',
backgroundColor: '#CB77EA',
},
updates: {
fallbackToCacheTimeout: 0,
url: 'https://u.expo.dev/67e75efb-78e7-4d84-92c7-dce85de10c4d',
},
assetBundlePatterns: ['**/*'],
ios: {
supportsTablet: true,
},
android: {
adaptiveIcon: {
foregroundImage: './src/assets/images/adaptive-icon.png',
backgroundColor: '#09163C',
},
softwareKeyboardLayoutMode: 'pan',
package: 'com.etap.comeBuy',
},
description: 'A simple and basic geo-fenced e-commerce app',
githubUrl: 'https://github.com/AdamuAbba/come_buy.git',
extra: {
eas: {
projectId: '67e75efb-78e7-4d84-92c7-dce85de10c4d',
},
...Config,
},
runtimeVersion: {
policy: 'sdkVersion',
},
},
});