fix(capacitor): backgroundColor noir partout (anti flash blanc)
Tous les backgroundColor passent de #ffffff à #000000 : - ios.backgroundColor (WebView natif entre 2 navigations) - SplashScreen.backgroundColor (cohérence avec splash dark) - StatusBar.backgroundColor (cohérence avec app dark) StatusBar.style passe de DEFAULT à LIGHT (icônes/texte blanc sur fond noir, lisible sur app dark). À synchroniser au prochain rebuild : npx cap sync ios (régénère ios/App/App/capacitor.config.json) puis archive Xcode. Pendant ce temps, fix web déjà déployé (style inline html/body) atténue le flash sans rebuild requis. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -15,20 +15,22 @@ const config: CapacitorConfig = {
|
||||
contentInset: 'always',
|
||||
scrollEnabled: true,
|
||||
limitsNavigationsToAppBoundDomains: false,
|
||||
backgroundColor: '#ffffff',
|
||||
// Fond noir natif : évite le flash blanc du WebView entre 2 pages
|
||||
backgroundColor: '#000000',
|
||||
},
|
||||
|
||||
plugins: {
|
||||
SplashScreen: {
|
||||
launchShowDuration: 1500,
|
||||
launchAutoHide: true,
|
||||
backgroundColor: '#ffffff',
|
||||
backgroundColor: '#000000',
|
||||
showSpinner: false,
|
||||
splashImmersive: false,
|
||||
},
|
||||
StatusBar: {
|
||||
style: 'DEFAULT',
|
||||
backgroundColor: '#ffffff',
|
||||
// App dark : style LIGHT = icônes/texte status bar en blanc sur fond noir
|
||||
style: 'LIGHT',
|
||||
backgroundColor: '#000000',
|
||||
overlaysWebView: false,
|
||||
},
|
||||
PushNotifications: {
|
||||
|
||||
Reference in New Issue
Block a user