Files
GO-3.0/capacitor.config.ts

39 lines
992 B
TypeScript

import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.github.Qortal.qortalGo2',
appName: 'GO 3.0',
webDir: 'dist',
// Top-level backgroundColor is what Capacitor applies to the native WebView
// (the SplashScreen-nested key is ignored for this). Matching the app's dark
// base means a stalled/blank compositor surface shows the app color instead
// of an off-tone gray.
backgroundColor: '#0E0F14',
android: {
backgroundColor: '#0E0F14',
},
server: {
androidScheme: 'http',
},
plugins: {
LocalNotifications: {
smallIcon: 'ic_stat_qortal',
iconColor: '#09B6E8',
},
SplashScreen: {
launchShowDuration: 0,
launchAutoHide: true,
backgroundColor: '#0E0F14',
androidScaleType: 'CENTER_INSIDE',
showSpinner: false,
splashFullScreen: true,
splashImmersive: true,
},
CapacitorHttp: {
enabled: false,
},
},
};
export default config;