-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathapp.config.js
49 lines (48 loc) · 1.38 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
import dotenv from 'dotenv';
dotenv.config();
export default () => ({
expo: {
name: 'Toogether',
description: 'Making university life more fun',
slug: 'toogether-app',
owner: 'damian_stone',
privacy: 'public',
version: '1.1.0',
orientation: 'portrait',
icon: './assets/images/toogether-icon.png',
platforms: ['ios', 'android'],
splash: {
image: './assets/images/logo-2.png',
resizeMode: 'contain',
backgroundColor: '#1A1936',
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['**/*'],
packagerOpts: {
assetExts: ['png', 'js', 'jpg', 'tts'],
},
android: {
adaptiveIcon: {
foregroundImage: './assets/images/toogether-icon.png',
backgroundColor: '#FFFFFF',
},
permissions: ['ACCESS_FINE_LOCATION', 'CAMERA', 'WRITE_EXTERNAL_STORAGE'],
package: 'toogether.app',
versionCode: 202304260, // Using the date + T (try number) format YYYYMMDDT as version code.
},
web: {
favicon: './assets/images/toogether-icon.png',
},
extra: {
MODE: process.env.MODE || null,
ROCKET_API_URL: process.env.ROCKET_API_URL || null,
IOS_LOCAL_URL: process.env.IOS_LOCAL_URL || null,
ANDROID_LOCAL_URL: process.env.ANDROID_LOCAL_URL || null,
eas: {
projectId: '1bbdaff3-3c02-445d-97e6-bc150d65197e',
},
},
},
});