-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.config.ts
58 lines (57 loc) · 1.39 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
import { ExpoConfig, ConfigContext } from 'expo/config';
const IS_DEV = process.env.APP_VARIANT === 'development';
export default ({ config }: ConfigContext): ExpoConfig => ({
name: IS_DEV ? "CivitAI-RN DEV" : "CivitAI-RN",
slug: "CivitAI-RN",
scheme: IS_DEV ? "civitai-rn-dev" : "civitai-rn",
version: "0.0.7",
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "light",
githubUrl: "https://github.com/SmashinFries/CivitAI-RN",
updates: {
checkAutomatically: "ON_LOAD",
url: "https://u.expo.dev/4681a90b-4400-40d3-9f51-0fa5d54f31f1"
},
splash: {
image: "./assets/splash.png",
resizeMode: "contain",
backgroundColor: "#ffffff"
},
assetBundlePatterns: [
"**/*"
],
ios: {
supportsTablet: true
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#ffffff"
},
package: IS_DEV ? 'com.civitAiRNDev' : "com.civitAiRN"
},
web: {
favicon: "./assets/favicon.png"
},
plugins: [
"expo-router",
[
"expo-updates",
{
username: "kuzutech"
}
]
],
extra: {
router: {
origin: false
},
eas: {
projectId: "4681a90b-4400-40d3-9f51-0fa5d54f31f1"
}
},
runtimeVersion: {
policy: "sdkVersion"
}
});