Skip to content

Lots of reports of white bars at edges of screen since updating to cordova-android@15.0.0 #1957

Description

@AshleyScirra

Bug Report

Problem

What is expected to happen?

We make Construct, a browser-based game development editor. Since updating to cordova-android@15.0.0, we have received a lot of reports of people's Android Cordova apps showing white bars along the edges. Picture provided by one user of how it looked before:

Image

What does actually happen?

How it looks now:

Image

Information

So far it seems all affected devices use Android 14 or older - we're not aware of Android 15+ being affected. As Android 15 now requires EdgeToEdge mode we suspect this PR may have a fix: #1902

This notes the following:

When having cordova android in Edge To Edge the app does not extend to the full height of the device in version bellow Android 15.

Therefore we would request a patch release of Cordova Android to include this fix as it's having a significant impact and we're getting a lot of reports of this.

Command or Code

cordova-android@15 build with EdgeToEdge enabled and run on Android 14 or older

Environment, Platform, Device

According to a user reporting the issue, affected devices include:

Xiaomi 11 Lite 5g, android 14
Xiaomi Mi 8, android 10
Redmi 7a, android 9
Samsung Galaxy a51, android 13

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions