-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config.js
More file actions
72 lines (71 loc) · 1.82 KB
/
app.config.js
File metadata and controls
72 lines (71 loc) · 1.82 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
// app.config.js
import 'dotenv/config'; // Optional: if you plan to use environment variables
export default ({ config }) => ({
...config,
name: "MasireKherad",
slug: "shahname",
version: "1.1.0",
orientation: "portrait",
icon: "./assets/images/Logo.png",
scheme: "shahnameh",
userInterfaceStyle: "automatic",
// Required by react-native-reanimated 4.x (build fails otherwise).
// Old devices still supported via minSdkVersion 21 and edgeToEdgeEnabled: false.
newArchEnabled: true,
ios: {
supportsTablet: true,
},
android: {
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: "#f0bf7d",
},
// Disable edge-to-edge for old Android versions (requires newer APIs)
edgeToEdgeEnabled: false,
package: "com.aliaslani.mm.shahnameh",
// Support very old devices (Android 5.0 Lollipop, API 21)
minSdkVersion: 21,
// 32-bit (armeabi-v7a) + 64-bit (arm64-v8a) for old and new phones
abiFilters: ["armeabi-v7a", "arm64-v8a"],
},
web: {
bundler: "metro",
output: "static",
favicon: "./assets/images/favicon.png",
splash: {
image: "./assets/images/splash-icon.png",
resizeMode: "contain",
backgroundColor: "#f0bf7d",
},
pwa: {
name: "MasireKherad",
shortName: "MasireKherad",
themeColor: "#f0bf7d",
backgroundColor: "#f0bf7d",
display: "standalone",
scope: "/",
startUrl: "/",
},
},
plugins: [
"expo-router",
[
"expo-splash-screen",
{
image: "./assets/images/Logo.png",
resizeMode: "contain",
backgroundColor: "#f0bf7d",
},
],
"expo-audio",
],
experiments: {
typedRoutes: true,
},
extra: {
router: {},
eas: {
projectId: "045d8b5e-39fe-4e7e-b966-c6f556c1b74c",
},
},
});