@@ -6,11 +6,20 @@ const config: CapacitorConfig = {
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user