You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
When running an app targeting SDK 35 in an Android 15 device, now the app fills the whole screen (it no longer leaves some margins for the bottom Android buttons for example). This means that some content might be behind the Android buttons, making that content unclickable.
I'm not sure if the best solution is that cordova-android applies margins to the WebView so it doesn't fill the full screen, making it behave similar to how it behaves in Android 14, or it should be Ionic the one handling those margins (I guess using the "safe area"). I'd prefer the latter because it will look similar to a native Android app, that's why I open this issue.
Right now cordova-android only supports SDK 34, it still doesn't support SDK 35.
To reproduce the issue, just add this in your config.xml and run an app in a device with Android 15:
Prerequisites
Describe the Feature Request
When running an app targeting SDK 35 in an Android 15 device, now the app fills the whole screen (it no longer leaves some margins for the bottom Android buttons for example). This means that some content might be behind the Android buttons, making that content unclickable.
I'm not sure if the best solution is that cordova-android applies margins to the WebView so it doesn't fill the full screen, making it behave similar to how it behaves in Android 14, or it should be Ionic the one handling those margins (I guess using the "safe area"). I'd prefer the latter because it will look similar to a native Android app, that's why I open this issue.
Right now cordova-android only supports SDK 34, it still doesn't support SDK 35.
To reproduce the issue, just add this in your config.xml and run an app in a device with Android 15:
<preference name="android-targetSdkVersion" value="35" />
For now, this change can be disabled by adding an option in the themes.xml file, but this option is temporary and will be removed in the future:
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
More information about this change:
https://developer.android.com/develop/ui/views/layout/edge-to-edge
https://developer.android.com/about/versions/15/behavior-changes-15#edge-to-edge
Describe the Use Case
The new edge-to-edge display should be supported, otherwise some content can become unclickable because it's behind the Android buttons.
Describe Preferred Solution
I guess the easiest solution is to handle this case using the "safe area".
Describe Alternatives
No response
Related Code
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: