Skip to content

[Bug]: status-bar setStyle doesn't work properly #8435

@imalitavakoli

Description

@imalitavakoli

Capacitor Version

@capacitor/android: 8.3.1
@capacitor/ios: 8.3.1

Installed Dependencies:

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

Other API Details

npm --version: 11.11.0
node --version: v24.14.1

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

I have a problem with status-bar plugin. It seems that StatusBar.setStyle method doesn't work, if initial style is 'DARK' or 'DEFAULT'.

Expected Behavior

Whenever we call StatusBar.setStyle, it should work as expected.

Project Reproduction

https://github.com/imalitavakoli/.capacitor-app/tree/bug/status-bar

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions