-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.js
55 lines (53 loc) · 1.24 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
import dotenv from 'dotenv';
const env = process.env.NODE_ENV ?? 'production';
dotenv.config({ path: `.env.${env}` });
export default {
name: 'Girafa',
slug: 'girafa',
entryPoint: 'index.js',
version: '0.0.1',
orientation: 'portrait',
icon: './src/assets/images/icon.png',
scheme: 'girafa',
userInterfaceStyle: 'automatic',
splash: {
image: './src/assets/images/splash.png',
resizeMode: 'contain',
backgroundColor: '#774DF0',
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['**/*'],
ios: {
bundleIdentifier: 'ar.com.girafa.app',
supportsTablet: true,
associatedDomains: ['applinks:girafa.com.ar'],
},
android: {
package: 'ar.com.girafa.app',
adaptiveIcon: {
foregroundImage: './src/assets/images/adaptive-icon.png',
backgroundImage: './src/assets/images/adaptive-icon-bg.png',
},
},
web: {
favicon: './assets/images/favicon.png',
},
plugins: [
[
'onesignal-expo-plugin',
{
mode: env.toLowerCase(),
},
],
],
extra: {
eas: {
projectId: '03090a85-32cc-4c83-8eac-15c58efdda4b',
},
apiUrl: process.env.API_URL,
assetsUrl: process.env.ASSETS_URL,
oneSignalId: process.env.ONESIGNAL_APP_ID,
},
};