import type { CapacitorConfig } from '@capacitor/cli';

const config: CapacitorConfig = {
    appId: 'run.runfoo.veridian',
    appName: 'Veridian',
    webDir: 'dist',
    server: {
        // For development, you can use localhost
        // For production APK, the app will use the built-in web assets
        androidScheme: 'https',
    },
    plugins: {
        SplashScreen: {
            launchShowDuration: 2000,
            backgroundColor: '#09090b',
            showSpinner: false,
            androidSplashResourceName: 'splash',
            androidScaleType: 'CENTER_CROP',
        },
        StatusBar: {
            backgroundColor: '#09090b',
            style: 'DARK',
            overlaysWebView: false,
        },
        PushNotifications: {
            presentationOptions: ['badge', 'sound', 'alert'],
        },
    },
    android: {
        allowMixedContent: false,
        backgroundColor: '#09090b',
    },
};

export default config;
