almeira-web/pacifictrans-app/capacitor.config.ts

36 lines
802 B
TypeScript

import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'co.pacifictrans.go',
appName: 'Pacific Trans GO',
webDir: 'public',
server: {
androidScheme: 'https',
cleartext: true,
},
android: {
appendUserAgent: 'CapacitorApp/PacifictransGo',
allowMixedContent: true,
backgroundColor: '#080c14',
},
plugins: {
SplashScreen: {
launchShowDuration: 2500,
launchAutoHide: true,
launchFadeOutDuration: 500,
backgroundColor: '#080c14',
androidScaleType: 'CENTER_CROP',
showSpinner: false,
splashFullScreen: true,
splashImmersive: true,
},
StatusBar: {
style: 'DARK',
backgroundColor: '#080c14',
overlaysWebView: false,
},
},
};
export default config;