-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
32 lines (30 loc) · 867 Bytes
/
Copy pathcapacitor.config.ts
File metadata and controls
32 lines (30 loc) · 867 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
import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.esp32.musicweb',
appName: 'FluxAudio',
webDir: 'dist',
// Android specific settings
android: {
allowMixedContent: true, // Allow HTTP content on HTTPS
backgroundColor: '#000000',
},
// Server settings for development
server: {
androidScheme: 'https',
cleartext: true, // Allow HTTP requests
},
plugins: {
SplashScreen: {
launchShowDuration: 3000,
launchAutoHide: false,
launchFadeOutDuration: 300,
backgroundColor: "#000000",
androidSplashResourceName: "splash",
androidScaleType: "CENTER_CROP",
showSpinner: false, // シンプルなロゴのみにするためスピナーは非表示
splashFullScreen: true,
splashImmersive: true,
},
}
};
export default config;