@capacitor/camera - PWA in iOS: Camera rotate in landscape mode and bad quality of photo
@theproducer ci sta già lavorando.
Dal 13/1/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 6
- Fork
- 3
- Merge medio
- 1h 13m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ionic-team/capacitor-camera
-
bug(android): NullPointerException on ActivityResultLauncher.unregister() in LegacyCameraFlowAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
[Bug]: Crash SecurityException: No persistable permission grants found in IONCAMROpenPhotoPickerActivityForse già presa @ankit-edii l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ionic-team/capacitor-camera#58 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
ionic-team/capacitor-camera#76 · 1 commento · 1 reazione ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ionic-team/capacitor-camera#74 · 1 reazione ·
Tutte le issue di ionic-team/capacitor-camera
Issue simili
-
e2e-failure ready-to-code
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
redhat-developer/rhdh-plugin-export-overlays#4460 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
docs(api): openapi.yaml still documents gif-tools optimize colors as 2-256 instead of 2, 4, 16, 256Apertaarea: backend documentation priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
snapotter-hq/SnapOtter#2919 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
obsidianmd/pele#39 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
biomejs/biome#12475 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno