Android: dark system-bar icons (visible on the white app)
Under Android edge-to-edge the status/nav bar icons default to light (white) and vanished on the white app (clock/battery/nav invisible). Set SafeArea statusBarStyle/navigationBarStyle to LIGHT (= dark content on a light background) in capacitor.config.json, and add a runtime SafeArea.setSystemBarsStyle call in home.html so already-installed APKs get dark icons on relaunch (no rebuild). iOS unaffected (its status bar already shows dark content on white). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
"SafeArea": {
|
||||
"detectViewportFitCoverChanges": true,
|
||||
"initialViewportFitCover": true,
|
||||
"offsetForKeyboardInsetBug": true
|
||||
"offsetForKeyboardInsetBug": true,
|
||||
"statusBarStyle": "LIGHT",
|
||||
"navigationBarStyle": "LIGHT"
|
||||
},
|
||||
"SystemBars": {
|
||||
"insetsHandling": "disable"
|
||||
|
||||
Reference in New Issue
Block a user