I have an Ionic Cordova project and I’m facing an issue on Android 15 devices (specifically Samsung S22 and S23).
When I open the app, the top (status bar / safe area) and bottom (navigation bar) areas are overlapping with the content. Some buttons or texts are partially hidden behind these system bars.
Thanks! Yes, I’ve seen some of the other posts about Edge-to-Edge. I’ve made some adjustments in my MainActivity.java to handle insets properly, especially when mixing system bars and display cutouts. Here’s what I’ve implemented:
I made a temporary workaround and a final solution for this issue in my ionic capacitor app. In the meantime that my app was not yet updated, I asked the user to switch the settings on their phones to ‘swipe gestures’.
Open phone’s Settings. Tap on Display. Scroll down and tap on Navigation bar. Select Swipe gestures.
This will make the navigation buttons of the phone to disappear and will be controlled by swipe gestures like an iPhone.
My final solution to this is to implement the fullscreen plugin.
This will hide the navigation bar at the bottom of the screen when the app is on foreground. The navigation buttons can still appear by swiping up from the bottom of the screen.