apache / apache/cordova-plugin-camera
[Android 15] Status Bar Hidden When Using Camera Plugin Due to Edge-to-Edge Display
- Dominant language
- Objective-C
- Stars
- 976
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
# Bug Report
In Android 15 - Status Bar Hidden When Using Camera Plugin Due to Edge-to-Edge Display
## Problem
### What is expected to happen?
Status bar should remain visible and styled as per cordova-plugin-statusbar settings (e.g., background color, overlaysWebView).
App should not draw under the status or navigation bars unless explicitly requested.
Dialog buttons like "OK" and "Cancel" should not appear behind or under system bars.
### What does actually happen?
When the camera/photo library opens:
Status bar becomes hidden or overlaps UI.
Buttons like "OK" and "Cancel" appear below status bar.
Happens only on Android 11+ (API 30+), especially Android 14/15.
## Information
### Command or Code
### Environment, Platform, Device
### Version information
## Checklist
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [ ] I included all the necessary information above
Contributor guide
Research direction
The report names no files, tests, versions, or reproduction command. Start by reproducing the camera or photo-library flow on Android 11+, especially Android 14/15, and compare the result with cordova-plugin-statusbar settings. Done means the status and navigation bars are handled correctly and dialog buttons such as “OK” and “Cancel” are not obscured.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100