From ba75dc8daab70c1a9395ec8563db2b80d0767ce2 Mon Sep 17 00:00:00 2001 From: sravan Date: Tue, 15 Sep 2026 21:57:35 +0530 Subject: [PATCH] Android: fix black gap above keyboard (SafeArea/SystemBars config) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The safe-area plugin logged: set SystemBars.insetsHandling to "disable". Under Android edge-to-edge (targetSdk 36) this + offsetForKeyboardInsetBug were causing a black strip between the input and the soft keyboard on the login view. Set SystemBars.insetsHandling="disable" and SafeArea.offsetForKeyboardInsetBug=true. Native config — takes effect on the next Android build; verify on device. Co-Authored-By: Claude Opus 4.8 --- mobile/capacitor.config.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mobile/capacitor.config.json b/mobile/capacitor.config.json index afd4b3d..d70d9e2 100644 --- a/mobile/capacitor.config.json +++ b/mobile/capacitor.config.json @@ -14,7 +14,10 @@ "SafeArea": { "detectViewportFitCoverChanges": true, "initialViewportFitCover": true, - "offsetForKeyboardInsetBug": false + "offsetForKeyboardInsetBug": true + }, + "SystemBars": { + "insetsHandling": "disable" }, "Keyboard": { "resize": "none"