-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.ts
67 lines (66 loc) · 1.62 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
import { ExpoConfig, ConfigContext } from "@expo/config";
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: "hackatime-android",
slug: "hackatime-android",
version: "1.0.1",
orientation: "portrait",
icon: "./assets/images/icon.png",
scheme: "hackandroid",
userInterfaceStyle: "automatic",
splash: {
image: "./assets/images/splash.png",
resizeMode: "contain",
backgroundColor: "#f2e8cf",
},
ios: {
supportsTablet: true,
bundleIdentifier: "com.spectralo.hackatime",
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: "#f2e8cf",
},
package: "com.spectralo.hackatime",
},
web: {
bundler: "metro",
output: "static",
favicon: "./assets/images/favicon.png",
},
plugins: [
"expo-router",
"expo-secure-store",
[
"react-native-android-widget",
{
widgets: [
{
name: "Hour", // Valid resource name
label: "Daily hours",
minWidth: "180dp",
minHeight: "120dp",
targetCellWidth: 3,
targetCellHeight: 2,
description:
"This widget displays the hours you have coded today. Refreshes every 30mins",
previewImage: "./assets/widget-preview/hour.png", // Update the filename if necessary
updatePeriodMillis: 1800000,
},
],
},
],
],
experiments: {
typedRoutes: true,
},
extra: {
router: {
origin: false,
},
eas: {
projectId: "b289a892-e1e7-41b2-bd59-2d709f8cce8a",
},
},
});