import { CapacitorConfig } from '@capacitor/cli'; let config: CapacitorConfig; const baseConfig: CapacitorConfig = { appId: "com.bigauction.mobile", appName: "FirstCash", webDir: "dist", bundledWebRuntime: true, backgroundColor: "#1C1C1C", android: { buildOptions: { keystorePath: "../zouma.jks", keystorePassword: "zouma123", keystoreAlias: "zouma", keystoreAliasPassword: "zouma123", releaseType: "APK" }, minWebViewVersion: 60 }, ios: { allowsLinkPreview: false }, plugins: { SplashScreen: { launchShowDuration: 2000, androidScaleType: "CENTER_CROP" }, CodePush: { IOS_DEPLOY_KEY: "eAdEIJJkMhuRwBKVpDXvbay6Ay0yEJAbzi0Ur", ANDROID_DEPLOY_KEY: "ZrEsHcngd89oYtHZYQxLRUSMJ8trafzoNUVDN", SERVER_URL: "https://codepush.appcenter.ms/" } }, server: { errorPath: "error.html" } } config = { ...baseConfig } switch (process.env.NODE_ENV) { case 'dev': config.android!.flavor = 'dev'; config.plugins!.CodePush!.ANDROID_DEPLOY_KEY = '6yDUHefjATEf9hCyLrEKBXb6uITu9u_fIA1bS' break; default: config.android!.flavor = 'prod'; break; } export default config;