-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config.js
More file actions
93 lines (92 loc) · 2.66 KB
/
app.config.js
File metadata and controls
93 lines (92 loc) · 2.66 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
81
82
83
84
85
86
87
88
89
90
91
92
93
const packageJson = require('./package.json');
const IS_DEV = process.env.APP_VARIANT === 'development';
export default {
expo: {
name: IS_DEV ? "Flux (Dev)" : "Flux",
slug: "flux",
version: packageJson.version,
orientation: "default",
icon: IS_DEV ? "./assets/icon-dev.png" : "./assets/icon.png",
userInterfaceStyle: "automatic",
newArchEnabled: true,
splash: {
image: "./assets/splash-icon.png",
resizeMode: "contain",
backgroundColor: "#000000"
},
ios: {
supportsTablet: true,
bundleIdentifier: IS_DEV ? "me.byteful.flux.dev" : "me.byteful.flux",
buildNumber: packageJson.version,
infoPlist: {
CFBundleDisplayName: IS_DEV ? "Flux (Dev)" : "Flux",
UIBackgroundModes: [
"audio",
"processing"
],
NSAppTransportSecurity: {
NSAllowsArbitraryLoads: true,
NSAllowsArbitraryLoadsForMedia: true,
NSAllowsArbitraryLoadsInWebContent: true,
NSExceptionDomains: {
"vidsrc.me": {
"NSIncludesSubdomains": true,
"NSExceptionAllowsInsecureHTTPLoads": true
},
"vidsrc.su": {
"NSIncludesSubdomains": true,
"NSExceptionAllowsInsecureHTTPLoads": true
}
}
},
"ITSAppUsesNonExemptEncryption": false
}
},
android: {
versionCode: packageJson["version-iteration"],
versionName: packageJson.version,
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#000000"
},
package: IS_DEV ? "me.byteful.flux.dev" : "me.byteful.flux",
permissions: [
"android.permission.MODIFY_AUDIO_SETTINGS",
"android.permission.SET_ORIENTATION",
"android.permission.WRITE_SETTINGS"
]
},
web: {
favicon: "./assets/favicon.png"
},
plugins: [
"expo-screen-orientation",
[
"expo-video",
{
"supportsBackgroundPlayback": true,
"supportsPictureInPicture": true
}
],
"expo-secure-store",
"expo-background-task",
[
'./ffmpeg-kit-plugin.js',
{
iosUrl: 'https://github.com/NooruddinLakhani/ffmpeg-kit-ios-full-gpl/archive/refs/tags/latest.zip',
androidUrl: 'https://github.com/NooruddinLakhani/ffmpeg-kit-full-gpl/releases/download/v1.0.0/ffmpeg-kit-full-gpl.aar',
},
],
],
assetBundlePatterns: [
"**/*"
],
owner: "bytefuls",
extra: {
buildDate: new Date().toISOString(),
eas: {
projectId: "95d18493-36d1-4188-b99d-e76d6bdc446e"
}
}
}
};