import type { CapacitorConfig } from '@capacitor/cli'; const config: CapacitorConfig = { appId: 'ch.hypnotruck.coach', appName: 'Coach Hypnotruck', webDir: 'www', server: { url: 'https://coach.hypnotruck.ch', cleartext: false, androidScheme: 'https', }, ios: { contentInset: 'always', scrollEnabled: true, limitsNavigationsToAppBoundDomains: false, // Fond noir natif : évite le flash blanc du WebView entre 2 pages backgroundColor: '#000000', }, plugins: { SplashScreen: { launchShowDuration: 1500, launchAutoHide: true, backgroundColor: '#000000', showSpinner: false, splashImmersive: false, }, StatusBar: { // App dark : style LIGHT = icônes/texte status bar en blanc sur fond noir style: 'LIGHT', backgroundColor: '#000000', overlaysWebView: false, }, PushNotifications: { presentationOptions: ['badge', 'sound', 'alert'], }, LocalNotifications: { smallIcon: 'ic_stat_icon_config_sample', iconColor: '#488AFF', sound: 'beep.wav', }, }, }; export default config;