-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config.ts
More file actions
48 lines (47 loc) · 1.21 KB
/
app.config.ts
File metadata and controls
48 lines (47 loc) · 1.21 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
import { ExpoConfig, ConfigContext } from "expo/config";
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: "ObjectStack Mobile",
slug: "objectstack-mobile",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/icon.png",
scheme: process.env.EXPO_PUBLIC_APP_SCHEME ?? "objectstack",
userInterfaceStyle: "automatic",
newArchEnabled: true,
splash: {
image: "./assets/splash-icon.png",
resizeMode: "contain",
backgroundColor: "#ffffff",
},
ios: {
supportsTablet: true,
bundleIdentifier: "com.objectstack.mobile",
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#ffffff",
},
edgeToEdgeEnabled: true,
package: "com.objectstack.mobile",
},
web: {
favicon: "./assets/favicon.png",
bundler: "metro",
},
plugins: [
"expo-router",
[
"@sentry/react-native/expo",
{
organization: process.env.SENTRY_ORG ?? "objectstack",
project: process.env.SENTRY_PROJECT ?? "mobile",
},
],
],
extra: {
apiUrl: process.env.EXPO_PUBLIC_API_URL ?? "http://localhost:3000",
sentryDsn: process.env.EXPO_PUBLIC_SENTRY_DSN ?? "",
},
});