forked from SPlayer-Dev/SPlayer
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
37 lines (33 loc) · 1001 Bytes
/
capacitor.config.ts
File metadata and controls
37 lines (33 loc) · 1001 Bytes
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
/// <reference types="@capacitor/status-bar" />
import type { CapacitorConfig } from "@capacitor/cli";
type AndroidCapacitorConfig = CapacitorConfig & {
/**
* Project-level marker for Android WebView blur requirements.
* Capacitor does not consume this key directly. Keep AndroidManifest.xml
* synchronized with android:hardwareAccelerated="true" after `npx cap add android`.
*/
androidHardwareAcceleration?: boolean;
};
const config: AndroidCapacitorConfig = {
appId: "top.imsyy.splayer.android",
appName: "SPlayer for Android",
webDir: "dist/capacitor",
backgroundColor: "#00000000",
loggingBehavior: "debug",
initialFocus: true,
android: {
backgroundColor: "#00000000",
allowMixedContent: true,
webContentsDebuggingEnabled: false,
initialFocus: true,
},
plugins: {
StatusBar: {
overlaysWebView: true,
style: "LIGHT",
backgroundColor: "#00000000",
},
},
androidHardwareAcceleration: true,
};
export default config;