-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.js
60 lines (54 loc) · 1.21 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
const IS_DEV = process.env.APP_VARIANT === 'development';
const IS_PREVIEW = process.env.APP_VARIANT === 'preview';
const getUniqueIdentifier = () => {
if (IS_DEV) {
return 'com.scienmanas.stickersmash.dev';
}
if (IS_PREVIEW) {
return 'com.scienmanas.stickersmash.preview';
}
return 'com.scienmanas.stickersmash';
}
const getAppName = () => {
if (IS_DEV) {
return 'StickerSmash (Dev)';
}
if (IS_PREVIEW) {
return 'StickerSmash (Preview)';
}
return 'StickerSmash: Emoji Stickers';
}
export default ({ config }) => ({
...config,
name: getAppName(),
slug: "StickerSmash",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "light",
splash: {
image: "./assets/splash.png",
resizeMode: "contain",
backgroundColor: "#ffffff"
},
ios: {
bundleIdentifier: getUniqueIdentifier(),
supportsTablet: true,
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/icon.png",
backgroundColor: "#25292e"
},
package: getUniqueIdentifier()
},
web: {
favicon: "./assets/favicon.png"
},
extra: {
eas: {
projectId: "e6581611-1a9a-4f38-9d92-e79aa2db6fe8"
}
},
owner: "scienmanas"
});