Files
chat_web_app/llm-fe/capacitor.config.ts
westfarn 5be66dbaa7
Deploy Beta / unit-tests (push) Successful in 11s
Unit Tests / test (push) Successful in 11s
Deploy Beta / deploy-beta (push) Successful in 2m4s
iOS App (#99)
closes #21Reviewed-on: #99
2026-08-03 12:14:21 -07: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;