You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "grvsingh789 (via GitHub)" <gi...@apache.org> on 2026/09/24 19:16:41 UTC

[I] After updating to cordova android 15 and target sdk36 statusbar is overlapping [cordova-plugin-statusbar]

grvsingh789 opened a new issue, #301:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/301

   # Bug Report
   
   ## Problem
   I have updated my app to target android sdk 36 and now it overlaps with header and also my status bas doesn't show any battery/wifie /mobile network. 
   ### What is expected to happen?
   
   
   
   ### What does actually happen?
   
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   I am using android 
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   below are my config file and I can't remove fullscreen and fullscreennotimmersive as it stops bottom bar taking same space as keyboard and hiding the app content when tap on input box
       <preference name="SplashScreen" value="screen" />
            <preference name="AndroidEdgeToEdge" value="true" />
           <preference name="StatusBarOverlaysWebView" value="false" />
           <!-- Fullscreen + FullscreenNotImmersive: keeps system bars visible, but tells CordovaActivity
                to skip the IME bottom-inset margin so the WebView never shrinks when the keyboard opens. -->
           <preference name="Fullscreen" value="true" />
           <preference name="FullscreenNotImmersive" value="true" />
           <preference name="StatusBarBackgroundColor" value="#0A7CB2" />
           <preference name="BackgroundColor" value="#0A7CB2" />
           <preference name="AndroidWindowSplashScreenAnimatedIcon" value="res/screen/android/drawable-xxxhdpi/icon.png" />
           <preference name="AndroidPostSplashScreenTheme" value="@style/Theme.Cordova.App.DayNight" />
           <preference name="AndroidWindowSplashScreenBackground" value="#ffffff" />
           <preference name="AndroidWindowSplashScreenAnimationDuration" value="2000" />
     
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] After updating to cordova android 15 and target sdk36 statusbar is overlapping [cordova-plugin-statusbar]

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on issue #301:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/301#issuecomment-5821011577

   In most cases this plugin is no longer required.
   
   `AndroidEdgeToEdge` makes the webview span edge to edge (similar to when `StatusBarOverlaysWebView` is enabled, but it does it in the modern compatible way). This means the webview will be laid underneath the statusbar and navigation/gesture bar and it's the app's responsibility to ensure that content clears unsafe areas using [CSS safe-area-inset variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/env). Note that this does require a relatively recent webview version installed on the device. Older webview version lacked support for the safe-area-inset variables. There are third-party plugins that can help bridge the gap.
   
   This is noteworthy because having this option set to true kind of contradicts having `StatusBarOverlaysWebView` set to false. If you don't want the app to operate edge-to-edge, set `AndroidEdgeToEdge` to false and the webview window itself will be constrained to safe area, so that you don't have to worry about positioning the content in CSS. The webview content will appear below the status bar and gesture bars.
   
   > below are my config file and I can't remove fullscreen and fullscreennotimmersive as it stops bottom bar taking same space as keyboard and hiding the app content when tap on input box
   
   This one I'm not 100% sure on, but I believe fullscreen mode means the statusbar gets hidden, and the user can gesture down to see the status bar. Typical UI flow for full screen apps like games or displaying a video player in full screen and you want to maximize screen real estate.
   
   > as it stops bottom bar taking same space as keyboard and hiding the app content when tap on input box
   
   But I'm not sure what you mean by this statement.
   
   > In most cases this plugin is no longer required.
   
   Especially if you don't use any of the JS apis, you can try uninstalling the plugin to let the core platform handle the status bar and webview positioning. If you try this route, you can also remove `StatusBarOverlaysWebView` as that is not used by the core platform.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org