Files
chat_web_app/llm-fe/capacitor.config.ts
T
westfarn 5c70bb4b2d
Unit Tests / test (pull_request) Successful in 11s
closess #22
2026-08-03 14:12:23 -05:00

37 lines
1.0 KiB
TypeScript

import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'ai.hesychia.chat',
appName: 'Hesychia',
webDir: 'build',
server: {
// Bundled assets; HashRouter (#24) handles deep links without a rewrite server.
// Android: https://localhost — iOS: capacitor://localhost (CORS trusted in chat_backend).
androidScheme: 'https',
iosScheme: 'capacitor',
},
android: {
allowMixedContent: false,
},
ios: {
// Prefer content-driven insets; CSS env(safe-area-inset-*) handles notch / home indicator.
contentInset: 'automatic',
// Keep WebView scroll on; rubber-band bounce disabled in AppDelegate after load.
scrollEnabled: true,
preferredContentMode: 'mobile',
},
plugins: {
SplashScreen: {
launchAutoHide: true,
backgroundColor: '#0f172a',
showSpinner: false,
},
Keyboard: {
// StatusBar does not overlay the WebView; keep resizeOnFullScreen for notch devices.
resizeOnFullScreen: true,
},
},
};
export default config;