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

[Bug]: status bar is gone after the camera is dismissed (iOS only)

Open
#2,310 14 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 9 days

@ryaa is already working on this.

Since Apr 10, 2025.

  • #2347 by @ryaa — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
ios, swift
Domain
mobile-dev

Research direction

Start with the linked reproduction repository and run it on iOS, then trace the Get Photo flow through camera or picker dismissal while comparing the status bar before and after cancellation. No project file or test is named; done means the status bar and header layout remain unchanged after either flow is canceled.

Written by the indexing model from the issue text.

Description

platform: android platform: ios platform: web type: bug
Capacitor Version

💊 Capacitor Doctor 💊

Latest Dependencies:

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

Installed Dependencies:

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

[success] iOS looking great! 👌
[success] Android looking great! 👌

Other API Details
alexryltsov@Alexs-MacBook-Pro-2 master % npm --version
10.5.0
alexryltsov@Alexs-MacBook-Pro-2 master % node --version
v20.11.1
alexryltsov@Alexs-MacBook-Pro-2 master % pod --version
1.16.2
Platforms Affected
  • iOS
  • Android
  • Web
Current Behavior

The status bar is gone after the camera is dismissed/canceled. I ionic header height is changed to take the status bar height - see below

The ion header when the status bar is displayed and before the camera is opened
Image

The ion header after the status bar is gone and after the camera is dismissed/canceled
Image

To reproduce please clone this repo https://github.com/ryaa/capacitor-status-bar-becomes-invisible-issue, build and run it. Then tap Get Photo, select picker or camera and then cancel (don't select image or take a photo). Note that the status bar is gone.

Expected Behavior

Status bar must stay the same

Project Reproduction

https://github.com/ryaa/capacitor-status-bar-becomes-invisible-issue

Additional Information

This issue was reported as an issue to capacitor-community/file-opener - see https://github.com/capacitor-community/file-opener/issues/74#issue-2826009586
Note that in addition to the status bar being gone, there are some warnings shown in XCode console (here is another repo demonstrating the problem https://github.com/capacitor-community/file-opener/issues/74#issuecomment-2631707287)

Please note that everything works fine on Android and for the status bar v6.

Dominant language
Java
Stars
683
Forks
692
Avg merge
11d 16h
Merged PRs (30d)
4

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.