-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.config.ts
89 lines (85 loc) · 1.94 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
import { ExpoConfig, ConfigContext } from '@expo/config';
import { config } from 'dotenv';
config();
const apiUrl = process.env.EXPO_PUBLIC_API_URL;
const projectId = process.env.EXPO_PUBLIC_PROJECT_ID;
const defineConfig = (_: ConfigContext): ExpoConfig => ({
owner: 'nunkkocht',
name: 'dice - 팝업 운영 올인원 솔루션',
slug: 'dice',
version: '1.0.0',
orientation: 'portrait',
icon: './assets/images/icon.png',
scheme: 'myapp',
userInterfaceStyle: 'automatic',
newArchEnabled: true,
extra: {
router: {
origin: false,
},
eas: {
projectId: projectId,
},
apiUrl: apiUrl,
},
updates: {
url: `https://u.expo.dev/${projectId}`,
},
runtimeVersion: '1.0.0',
ios: {
supportsTablet: true,
bundleIdentifier: 'com.minipop.dice',
buildNumber: '1.0.0',
infoPlist: {
NSPhotoLibraryUsageDescription:
'The app accesses the photo library to upload your profile when you are signing up or updating profile image.',
NSAppTransportSecurity: {
NSAllowsArbitraryLoads: true,
},
},
},
android: {
package: 'com.minipop.dice',
versionCode: 1,
adaptiveIcon: {
foregroundImage: './assets/images/icon.png',
backgroundColor: '#ffffff',
},
permissions: [],
},
web: {
bundler: 'metro',
output: 'static',
favicon: './assets/images/favicon.png',
},
plugins: [
'expo-router',
[
'expo-splash-screen',
{
image: './assets/images/splash.png',
imageWidth: 97,
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
],
[
'@mj-studio/react-native-naver-map',
{
client_id: 'pk2penm8t7',
},
],
[
'expo-build-properties',
{
android: {
extraMavenRepos: ['https://repository.map.naver.com/archive/maven'],
},
},
],
],
experiments: {
typedRoutes: true,
},
});
export default defineConfig;