capacitor-community / capacitor-community/camera-preview

Don't have auto rotation

Open
#129 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
227
Forks
185
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
If you lock a device rotation and capture one image in different rotation, the image won't rotate. This is shown with wrong orientation.

**To Reproduce**
Steps to reproduce the behavior:
1. Lock rotation android.
2. Open the camera
3. Capture image
4. Move the device with another position o rotation
5. See the image with wrong orientation.

**Screenshots**
Image with 90 degrees of rotation in device
![381-95](https://user-images.githubusercontent.com/61101240/116484503-333a1e00-a857-11eb-90eb-bcbbe56563dc.jpg)
Expected image
![381-95 - copia](https://user-images.githubusercontent.com/61101240/116484558-4f3dbf80-a857-11eb-9c12-23cfa01830fa.jpg)

**Smartphone (please complete the following information):**
- Device: Android +5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.