ca1b055dad
- Add @capacitor/ios dependency and iOS Capacitor platform - Configure capacitor.config.ts with iOS settings (scheme, background color, content inset) - Add scripts/build-ios.sh for building iOS over SSH on Mac Mini (orcus.lan) - Script supports simulator, device, archive, and open-in-Xcode modes
26 lines
558 B
TypeScript
26 lines
558 B
TypeScript
import type { CapacitorConfig } from '@capacitor/cli';
|
|
|
|
const config: CapacitorConfig = {
|
|
appId: 'pub.ditto.app',
|
|
appName: 'Ditto',
|
|
webDir: 'dist',
|
|
server: {
|
|
// Handle deep links from your domain
|
|
hostname: 'ditto.pub',
|
|
androidScheme: 'https',
|
|
iosScheme: 'https'
|
|
},
|
|
android: {
|
|
// Enable safe area handling for notches and navigation bars
|
|
allowMixedContent: false,
|
|
backgroundColor: '#14161f'
|
|
},
|
|
ios: {
|
|
backgroundColor: '#14161f',
|
|
contentInset: 'automatic',
|
|
scheme: 'Ditto'
|
|
}
|
|
};
|
|
|
|
export default config;
|