-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config.js
More file actions
80 lines (78 loc) · 2.25 KB
/
Copy pathapp.config.js
File metadata and controls
80 lines (78 loc) · 2.25 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
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
// sets WEB_BASE_URL=/europython-companion for the GitHub Pages build.
const baseUrl = process.env.WEB_BASE_URL ?? "";
// Kept in sync manually with CONFERENCE_YEARS in src/config/conference.ts
const CONFERENCE_YEARS = [2026, 2025, 2024, 2023, 2022];
const deepLinkHosts = CONFERENCE_YEARS.map((year) => `ep${year}.europython.eu`);
module.exports = {
expo: {
name: "EuroPython",
slug: "europython-companion",
owner: "europython",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "automatic",
extra: {
eas: {
projectId: "65eee084-4cf7-40f1-93d0-994fdbc62b28",
},
},
ios: {
icon: "./assets/icon-ios.png",
supportsTablet: true,
bundleIdentifier: "eu.europython.companion",
infoPlist: {
NSCalendarsUsageDescription:
"Allow EuroPython Companion to add sessions to your calendar.",
ITSAppUsesNonExemptEncryption: false,
},
associatedDomains: deepLinkHosts.map((host) => `applinks:${host}`),
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/icon-adaptive.png",
backgroundColor: "#001B31",
},
predictiveBackGestureEnabled: false,
permissions: ["READ_CALENDAR", "WRITE_CALENDAR"],
package: "eu.europython.companion",
intentFilters: [
{
action: "VIEW",
autoVerify: true,
category: ["BROWSABLE", "DEFAULT"],
data: deepLinkHosts.flatMap((host) => [
{ scheme: "https", host, pathPrefix: "/session" },
{ scheme: "https", host, pathPrefix: "/speaker" },
{ scheme: "https", host, path: "/schedule" },
]),
},
],
},
web: {
favicon: "./assets/icon.png",
name: "EuroPython",
description: "Conference companion app for EuroPython",
themeColor: "#001B31",
},
experiments: {
baseUrl,
},
plugins: [
"expo-notifications",
"expo-font",
"expo-calendar",
"expo-system-ui",
"expo-status-bar",
"expo-image",
[
"expo-splash-screen",
{
image: "./assets/icon.png",
resizeMode: "contain",
backgroundColor: "#001B31",
},
],
],
},
};