Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Unable to Switch Status Bar Modes in Android App

Open
#2,334 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
mobile-dev

Research direction

Start by reproducing the Android behavior from the call to StatusBar.hide() in app.vue, using the reported Capacitor 7.1.0 and @capacitor/status-bar 7.0.1 versions. Trace how tapping the status bar affects the app and compare that with the expected ability to change the status bar dynamically. Done means the Android app no longer freezes and status bar visibility can be changed as described.

Written by the indexing model from the issue text.

Description

needs reproduction platform: android

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)
  • 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!

Dominant language
Java
Stars
678
Forks
688
Avg merge
5d 11h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ionic-team/capacitor-plugins

All issues in ionic-team/capacitor-plugins

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.