ionic-team / ionic-team/capacitor-plugins

Unable to Switch Status Bar Modes in Android App

Open
#2,334 5 comments 3 reactions 0 assignees View on GitHub
needs reproduction platform: android
Dominant language
Java
Stars
678
Forks
685
Avg merge
4d 22h
Merged PRs (30d)
3

Description

## 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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.