-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.ts
More file actions
81 lines (79 loc) · 1.82 KB
/
app.config.ts
File metadata and controls
81 lines (79 loc) · 1.82 KB
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
import type { ConfigContext, ExpoConfig } from 'expo/config';
import packageJson from './package.json';
export const config: ExpoConfig = {
name: 'Native Template',
description: packageJson.description,
slug: packageJson.name,
version: packageJson.version,
orientation: 'portrait',
icon: './assets/icons/adaptive-icon.png',
scheme: packageJson.name,
userInterfaceStyle: 'automatic',
newArchEnabled: true,
jsEngine: 'hermes',
ios: {
supportsTablet: true,
bundleIdentifier: 'com.sohanemon.nativetemplate',
infoPlist: {
ITSAppUsesNonExemptEncryption: false,
},
icon: {
light: './assets/icons/ios-light.png',
dark: './assets/icons/ios-dark.png',
tinted: './assets/icons/ios-tinted.png',
},
},
android: {
adaptiveIcon: {
backgroundColor: '#E6F4FE',
foregroundImage: './assets/icons/adaptive-icon.png',
monochromeImage: './assets/icons/adaptive-icon.png',
},
edgeToEdgeEnabled: true,
package: 'com.sohanemon.nativetemplate',
},
web: {
output: 'server',
bundler: 'metro',
favicon: './assets/favicon.png',
},
plugins: [
[
'expo-router',
{
unstable_useServerMiddleware: true,
origin: 'https://native-template.vercel.app',
},
],
[
'expo-splash-screen',
{
image: './assets/icons/splash-icon-dark.png',
imageWidth: 200,
resizeMode: 'contain',
backgroundColor: '#ffffff',
dark: {
image: './assets/icons/splash-icon-light.png',
backgroundColor: '#000000',
},
},
],
],
experiments: {
typedRoutes: true,
reactCompiler: true,
},
updates: { assetPatternsToBeBundled: ['assets/static/**'] },
extra: {
router: {
unstable_useServerMiddleware: true,
},
eas: {
projectId: '003e3a84-f6d1-4c5f-9451-5be32b0c90f8',
},
},
};
export default ({ config: defaultConfig }: ConfigContext): ExpoConfig => ({
...defaultConfig,
...config,
});