-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.js
102 lines (98 loc) · 2.18 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
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
98
99
100
101
102
require('dotenv').config({ path: '.env.local' })
const APP_VARIANT = process.env.APP_VARIANT
const APP_NAME = `Apperitif${APP_VARIANT ? ` (${APP_VARIANT})` : ''}`
export const BUNDLE_ID = `ai.bubblewrap.apperitif${APP_VARIANT ? `.${APP_VARIANT}` : ''}`
const config = {
name: APP_NAME,
slug: 'apperitif',
version: '1.0.1',
orientation: 'portrait',
icon: './assets/images/icon.png',
scheme: BUNDLE_ID,
owner: 'bubblewrap',
userInterfaceStyle: 'automatic',
splash: {
image: './assets/images/splash.png',
resizeMode: 'contain',
backgroundColor: '#FFFFFF',
},
assetBundlePatterns: ['**/*'],
updates: {
url: 'https://u.expo.dev/0fe189be-8677-4ba8-b1e9-c3b3e63b388f',
},
runtimeVersion: {
policy: 'appVersion',
},
ios: {
usesAppleSignIn: true,
supportsTablet: false,
bundleIdentifier: BUNDLE_ID,
config: {
usesNonExemptEncryption: false,
},
associatedDomains: ['applinks:bubblewrap.ai'],
},
android: {
adaptiveIcon: {
foregroundImage: './assets/images/adaptive-icon.png',
backgroundColor: '#FFFFFF',
},
package: BUNDLE_ID,
intentFilters: [
{
action: 'VIEW',
autoVerify: true,
data: [
{
scheme: 'https',
host: '*.bubblewrap.ai',
pathPrefix: '/records',
},
],
category: ['BROWSABLE', 'DEFAULT'],
},
],
},
web: {
bundler: 'metro',
output: 'static',
favicon: './assets/images/app-icon-web-favicon.png',
},
plugins: [
'expo-router',
'expo-apple-authentication',
'expo-localization',
'sentry-expo',
[
'expo-updates',
{
username: 'bubblewrap',
},
],
],
experiments: {
typedRoutes: true,
},
extra: {
router: {
origin: false,
},
eas: {
projectId: '0fe189be-8677-4ba8-b1e9-c3b3e63b388f',
},
},
}
if (APP_VARIANT !== 'development') {
config.hooks = {
postPublish: [
{
file: 'sentry-expo/upload-sourcemaps',
config: {
organization: 'bubblewrap',
project: `apperitif${APP_VARIANT ? `-${APP_VARIANT}` : ''}`,
},
},
],
}
}
export default config