[Bug]: status bar is gone after the camera is dismissed (iOS only)
Maintainers usually reply within 9 days
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
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
The ion header after the status bar is gone and after the camera is dismissed/canceled
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
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ionic-team/capacitor-plugins
-
[@capacitor/app] iOS: 'Expression implicitly coerced from String? to Any' warning in getAppLanguageOpentriage
Difficulty 1/5 Under an hour Newbie friendliness 88/100
ionic-team/capacitor-plugins#2604 ·
Maintainers usually reply within 9 days
-
platform: android
Difficulty 3/5 1-2 days Newbie friendliness 78/100
ionic-team/capacitor-plugins#2605 ·
Maintainers usually reply within 9 days
-
bug(camera): chooseFromGallery blocks the main thread on iOS while the photo grid opensPossibly taken @masimplo claimed this 15 days ago. Openplatform: ios
Difficulty 4/5 3-5 days Newbie friendliness 58/100
ionic-team/capacitor-plugins#2603 · 1 comment ·
Maintainers usually reply within 9 days
-
platform: android
Difficulty 3/5 1-2 days Newbie friendliness 76/100
ionic-team/capacitor-plugins#2599 ·
Maintainers usually reply within 9 days
-
platform: ios
Difficulty 3/5 1-2 days Newbie friendliness 68/100
ionic-team/capacitor-plugins#2595 · 2 reactions ·
Maintainers usually reply within 9 days
All issues in ionic-team/capacitor-plugins
Similar issues
-
[BUG] 订单:会员凭订单号即可取消其他会员的待付款订单(取消接口不校验订单归属)Possibly taken @dadiyang claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
macrozheng/mall#1016 ·
-
[Bug] The producer summary counts an unreported client version as a second version and warns about a version mixPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
apache/rocketmq-dashboard#6110 ·
Maintainers usually reply within 4 days
-
Feature:Resolution
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
intellij-elixir/intellij-elixir#4396 ·
Maintainers usually reply within 1 day
-
Python 3.15 supportPossibly taken @amnesiaof claimed this today. OpenL: python L: python:uv
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dependabot/dependabot-core#16524 · 1 comment ·
Maintainers usually reply within 1 day
-
`Processing lsp` never exits and leaves orphaned processesPossibly taken @overcast302 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
processing/processing4#1578 · 1 comment ·