-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.js
48 lines (47 loc) · 1.2 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
const IS_DEVELOPMENT = ['development', 'simulator'].includes(process.env.APP_VARIANT)
export default {
expo: {
name: IS_DEVELOPMENT ? 'GenoME Client' : 'GenoME',
slug: IS_DEVELOPMENT ? 'PGP-UK-GenoME-dev' : 'PGP-UK-GenoME',
version: '3.0.1',
orientation: 'default',
icon: './assets/icon.png',
userInterfaceStyle: 'light',
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['**/*'],
ios: {
supportsTablet: true,
bundleIdentifier: IS_DEVELOPMENT
? 'dev.co.uk.UCL.Genome'
: 'co.uk.UCL.Genome'
},
android: {
versionCode: 2,
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#FFFFFF',
},
package: IS_DEVELOPMENT
? 'dev.co.uk.UCL.Genome'
: 'co.uk.UCL.Genome',
},
web: {
favicon: './assets/favicon.png',
},
jsEngine: "hermes",
extra: {
eas: {
projectId: IS_DEVELOPMENT
? '2d0a3a0e-accc-4e0c-85cd-44d7e6cb0aa3'
: 'efd04051-a37b-40e5-b844-a7d1ddd87176',
},
},
},
};