-
Notifications
You must be signed in to change notification settings - Fork 9
/
app.config.js
59 lines (56 loc) · 1.47 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
58
59
import 'dotenv/config';
const Config = {
env: process.env.APP_ENV,
};
if (process.env.APP_ENV === 'development') {
Config.firebaseDatabaseUrl = process.env.DEV_FIREBASE_DATABASE_URL;
} else if (process.env.APP_ENV === 'production') {
Config.firebaseDatabaseUrl = process.env.PRODUCTION_FIREBASE_DATABASE_URL;
}
export default {
expo: {
name: 'Disc In',
description: 'Empowering Ultimate coaches to prepare appropriate trainings for their teams',
slug: 'ultimate-app',
privacy: 'public',
platforms: ['ios', 'android'],
version: '2.0.0',
githubUrl: 'https://github.com/disc-in/UltimateApp',
orientation: 'portrait',
scheme: 'discin',
primaryColor: '#2a9e91',
icon: './assets/icon.png',
splash: {
image: './assets/splash.png',
resizeMode: 'cover',
backgroundColor: '#ffffff',
},
assetBundlePatterns: ['assets/**/*'],
updates: {
url: 'https://u.expo.dev/e2242930-ad3a-4007-afc1-f9c47c174979',
},
runtimeVersion: {
policy: 'sdkVersion',
},
ios: {
bundleIdentifier: 'com.discin.discin',
buildNumber: '2.0.0',
supportsTablet: true,
infoPlist: {
CFBundleAllowMixedLocalizations: true,
},
},
android: {
package: 'com.discin.discin',
versionCode: 9,
permissions: [],
},
plugins: ['expo-localization'],
extra: {
eas: {
projectId: 'e2242930-ad3a-4007-afc1-f9c47c174979',
},
...Config,
},
},
};