Files
beStream/capacitor.config.ts
2025-12-19 13:48:48 +01:00

48 lines
1.0 KiB
TypeScript

import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.bestream.app',
appName: 'beStream',
webDir: 'dist',
server: {
androidScheme: 'https',
iosScheme: 'https',
// For development with live reload
// url: 'http://localhost:5173',
// cleartext: true,
},
plugins: {
StatusBar: {
style: 'DARK',
backgroundColor: '#141414',
},
SplashScreen: {
launchShowDuration: 2000,
launchAutoHide: true,
backgroundColor: '#141414',
androidSplashResourceName: 'splash',
androidScaleType: 'CENTER_CROP',
showSpinner: false,
},
CapacitorNodeJS: {
nodeDir: 'nodejs-v3',
startMode: 'manual',
},
},
android: {
allowMixedContent: true,
captureInput: true,
webContentsDebuggingEnabled: true,
// Allow cleartext traffic for localhost server
cleartext: true,
},
ios: {
contentInset: 'automatic',
scrollEnabled: true,
limitsNavigationsToAppBoundDomains: false,
},
};
export default config;