-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathapp.config.ts
97 lines (94 loc) · 2.38 KB
/
app.config.ts
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
import { ExpoConfig } from 'expo/config';
// In SDK 46 and lower, use the following import instead:
// import { ExpoConfig } from '@expo/config-types';
const config: ExpoConfig = {
name: 'Duolicious',
slug: 'duolicious',
version: "28.0.0",
orientation: "portrait",
icon: './assets/icon.png',
newArchEnabled: true,
updates: {
fallbackToCacheTimeout: 0
},
assetBundlePatterns: [
"**/*"
],
androidNavigationBar: {
barStyle: "dark-content",
backgroundColor: '#ffffff'
},
extra: {
eas: {
projectId: "a756e088-c07a-4034-b9c5-51f50139ac21"
},
apiUrl: process.env.DUO_API_URL,
chatUrl: process.env.DUO_CHAT_URL,
imagesUrl: process.env.DUO_IMAGES_URL,
audioUrl: process.env.DUO_AUDIO_URL,
statusUrl: process.env.DUO_STATUS_URL,
webUrl: process.env.DUO_WEB_BASE_URL,
webVersion: process.env.DUO_WEB_VERSION,
},
web: {
favicon: "./assets/favicon.png"
},
ios: {
bundleIdentifier: "app.duolicious",
supportsTablet: false,
associatedDomains: ["applinks:get.duolicious.app"],
appStoreUrl: "https://apps.apple.com/us/app/duolicious-dating-app/id6499066647",
infoPlist: {
NSMicrophoneUsageDescription: "This app uses the microphone to capture audio for updating and sharing on your profile."
},
},
android: {
googleServicesFile: "./google-services.json",
package: "app.duolicious",
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#7700ff"
},
intentFilters: [
{
action: "VIEW",
autoVerify: true,
data: [
{
scheme: "https",
host: "get.duolicious.app"
}
],
category: ["BROWSABLE", "DEFAULT"]
}
],
playStoreUrl: "https://play.google.com/store/apps/details?id=app.duolicious",
blockedPermissions: [
'android.permission.READ_MEDIA_IMAGES',
'android.permission.READ_MEDIA_VIDEO',
],
},
plugins: [
"expo-image-picker",
"expo-secure-store",
[
"expo-notifications",
{
"icon": "./assets/notification.png",
"color": "#7700ff",
"sounds": [
"./assets/audio/notification.mp3"
]
}
],
[
"expo-splash-screen",
{
backgroundColor: "#7700ff",
image: "./assets/splash.png",
imageWidth: 300,
}
]
],
};
export default config;