capacitor-plugins icon indicating copy to clipboard operation
capacitor-plugins copied to clipboard

Unable to Switch Status Bar Modes in Android App

Open Bader-Idris opened this issue 10 months ago • 3 comments

Bug Report

Plugin(s)

I am using the latest version of the Status Bar plugin:

  • @capacitor/status-bar: ^7.0.1

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

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

Installed Dependencies:

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

[success] Android looking great! 👌

Platform(s)

  • [x] Android

Current Behavior

When I call StatusBar.hide() in my app.vue file, the app freezes if clients tap on the status bar. They are unable to find a way to hide it again. I have tested various solutions, including setting a timeout, but none have resolved the issue.

Expected Behavior

To dynamically being able to modify status bar as native apps in android!

Bader-Idris avatar Mar 22 '25 13:03 Bader-Idris

This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.

Please see the Contributing Guide for how to create a Sample App.

Thanks! Ionitron 💙

Ionitron avatar Mar 25 '25 18:03 Ionitron

This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.

Please see the Contributing Guide for how to create a Sample App.

Thanks! Ionitron 💙

You can check my already existing app that has capacitor support with the issue I spoke of in its capacitor config file and its client/app.vue file here

https://github.com/Bader-Idris/nuxt3-fullstack-portfolio

Bader-Idris avatar Mar 25 '25 18:03 Bader-Idris

This issue has the same root cause of this one: #2350

Bader-Idris avatar Apr 13 '25 20:04 Bader-Idris