31 lines
628 B
TypeScript
31 lines
628 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: 'never',
|
|
scheme: 'Ditto'
|
|
},
|
|
plugins: {
|
|
Keyboard: {
|
|
resizeOnFullScreen: true,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|