-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config.js
More file actions
70 lines (68 loc) · 2 KB
/
Copy pathapp.config.js
File metadata and controls
70 lines (68 loc) · 2 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
// Calculate versionCode from unix timestamp / 10
// This ensures each build has a unique, incrementing version code
const versionCode = Math.floor(Date.now() / 10000);
// Use APP_VERSION from environment (set by CI/CD from git tag), or fallback to default
const version = process.env.APP_VERSION || "0.0.4";
export default {
expo: {
name: "LibriSync",
slug: "librisync",
version: version,
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "dark",
newArchEnabled: true,
splash: {
image: "./assets/splash-icon.png",
resizeMode: "contain",
backgroundColor: "#1a1a1a"
},
ios: {
supportsTablet: true,
bundleIdentifier: "tech.henning.librisync"
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#5E81AC"
},
package: "tech.henning.librisync",
versionCode: versionCode,
edgeToEdgeEnabled: true,
predictiveBackGestureEnabled: false,
permissions: [
"POST_NOTIFICATIONS",
"FOREGROUND_SERVICE",
"FOREGROUND_SERVICE_DATA_SYNC"
]
},
web: {
favicon: "./assets/favicon.png"
},
plugins: [
[
"expo-build-properties",
{
android: {
extraMavenRepos: []
}
}
],
"expo-secure-store",
"./plugins/withDebugApplicationId",
"./plugins/withDownloadService",
"./plugins/withFFmpegKit",
"./plugins/withReleaseSigning"
],
extra: {
eas: {
projectId: "2430b726-ba32-43d1-ac5b-2a88cb22e15e"
},
// Enable debug screen in development mode by default
// Override with: EXPO_PUBLIC_ENABLE_DEBUG_SCREEN=true/false
enableDebugScreen: process.env.EXPO_PUBLIC_ENABLE_DEBUG_SCREEN === 'true' || process.env.NODE_ENV === 'development',
// Set GITHUB_RELEASE=true during CI/APK builds to enable update checks
isGithubRelease: process.env.GITHUB_RELEASE === 'true'
}
}
};