#8435·capacitor

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

Author: imalitavakoliCreated Apr 20, 2026Updated Sep 14, 2026
Labelstriage

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

bash
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