Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#2,310 コメント 14 件 リアクション 2 件 担当者 0 名 GitHub で見る

@ryaa がすでに取り組んでいます。

2025年4月10日 から。

  • #2347 @ryaa による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
ios, swift
領域
mobile-dev

調査の方向性

リンクされた再現用リポジトリから始めて iOS 上で実行し、次にカメラまたは picker の終了時の Get Photo フローを追跡し、キャンセル前後のステータスバーを比較します。プロジェクトファイルやテストは指定されていません。どちらかのフローをキャンセルした後もステータスバーとヘッダーのレイアウトが変わらなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Java
スター
687
フォーク
691
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/capacitor-plugins のほかの issue

ionic-team/capacitor-plugins の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。