@capacitor/camera - PWA in iOS: Camera rotate in landscape mode and bad quality of photo
@theproducer is already working on this.
Since Jan 13, 2026.
Assessment
This issue has not been assessed yet.
Description
Capacitor Version
npx cap doctor
Capacitor Doctor
Latest Dependencies:
@capacitor/cli: 8.0.0
@capacitor/core: 8.0.0
@capacitor/android: 8.0.0
@capacitor/ios: 8.0.0
Installed Dependencies:
@capacitor/android: not installed
@capacitor/ios: not installed
@capacitor/cli: 4.7.3
@capacitor/core: 4.7.3
FYI: we are working with web version only
Other API Details
node -v
v22.20.0
npm -v
10.9.3
Platforms Affected
- iOS
- Android
- Web
Current Behavior
I noticed that since IOS 18 (didn't test for versions before), picture rotation and quality degradation
happens after the picture is taken when the IPad is in landscape mode : In fact, when you turn the IPad in landscape mode the camera turn also but the width is smaller than expected and after you click on the take picture button, then you see the image rotated 90 degree before even you confirm it.
In addition, when you take a picture with the camera, before clicking on the "take picture" button, the image is of standard quality. Once you confirm, it's getting darker and cropped.
Here is screenshots for portrait mode which is OK and landscape mode which is KO:
Portrait before confirm:
portrait after confirm:
Landscape before confirm:
Landscape after confirm:
Expected Behavior
The camera should behave like the native app of IOS do, when you turn to landscape and also when you go back to portrait mode
Project Reproduction
The issue could be reproduced by any PWA application that uses the camera: for example try https://85m2c-5173.csb.app/tab1/ in IOS device and you will be able to reproduce the issue
Additional Information
The issue is the same in web browser or installed mode.
It is also present for PWA app with react, angular or any other language
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 2
- Avg merge
- 10d 55m
- Merged PRs (30d)
- 2
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-camera
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ionic-team/capacitor-camera#58 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
ionic-team/capacitor-camera#76 · 1 comment · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
ionic-team/capacitor-camera#74 · 1 reaction ·
All issues in ionic-team/capacitor-camera
Similar issues
-
awaiting-response bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
wildcard/caro#1562 · 1 comment ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
supadata-ai/mcp#27 ·
-
content
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cosimochellini/one-piece-zero-spoiler#516 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
capricorn86/happy-dom#2485 ·
Maintainers usually reply within 2 days
-
lane: fast
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
unicef/adt-studio#946 ·
Maintainers usually reply within 2 days