Skip to content

Opaque navigation bar in Android 15 when in edge to edge #1866

@Chuckytuh

Description

@Chuckytuh

Bug Report

Problem

What is expected to happen?

My expectation is that with the new AndroidEdgeToEdge preference set as true and running the app in Android 15, the navigation bar/ 3 button bar should be transparent.

What does actually happen?

The navigation bar/3 button bar has a background color set as the BackgroundColor preference, if set, when running on Android 15 and AndroidEdgeToEdge preference is true

Information

AndroidEdgeToEdge = false and android:windowOptOutEdgeToEdgeEnforcement = true AndroidEdgeToEdge = true and android:windowOptOutEdgeToEdgeEnforcement = true
Image Image

A PR #1867 was created with a potential fix.

Command or Code

n/a

Environment, Platform, Device

Android 15

Version information

  • cordova-cli: 12.0.0 ([email protected])
  • cordova-android: 15.0.0-nightly.20251114002605023.sha.655aa0a5

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions