Skip to content

New Android version 15 does not support overlay: true ! #2350

Open
@Bader-Idris

Description

@Bader-Idris

Bug Report

Plugin(s)

"@capacitor/status-bar": "^7.0.1",

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 7.2.0
  @capacitor/core: 7.2.0
  @capacitor/android: 7.2.0
  @capacitor/ios: 7.2.0

Installed Dependencies:

  @capacitor/cli: 7.2.0
  @capacitor/android: 7.2.0
  @capacitor/ios: 7.2.0
  @capacitor/core: 7.2.0

[success] Android looking great! 👌

Platform(s)

  • Android

Current Behavior

My Android 15 os device is having trouble with @capacitor/status-bar package, I use this setting to show the bottom status bar, but it does not work, and it causes some calculations of CSS to be wrongly rendered due to using percentage values!

StatusBar.setOverlaysWebView({ overlay: true })

The current issue is with this mobile:

Redmi note 13 pro

Android version 15
Os version 2.0.4.0.VNFMIXM

Image


Expected Behavior

expected behavior with an older version of os and another mobile

Oppo a92
Model cph2059

CPU: Snapdragon 665

Android version 11

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions