Closed migalv-fu closed 1 year ago
camerawesome: ^1.1.0
CameraAwesomeBuilder.custom
aspectRatio
CameraAspectRatios.ratio_4_3
Show a camera preview with an aspect ratio of 4:3. For example in Android this works
The camera preview shows an aspect ratio of 16:9
On the other hand the aspect ratio 1:1 works
This issue should have been fixed with 1.2.0. Reopen the issue if there is still a problem with this, or create a new one. :)
Steps to Reproduce
camerawesome: ^1.1.0
as a dependencyCameraAwesomeBuilder.custom
builder method.aspectRatio
param toCameraAspectRatios.ratio_4_3
Expected results
Show a camera preview with an aspect ratio of 4:3. For example in Android this works![WhatsApp Image 2023-01-23 at 17 49 46](https://user-images.githubusercontent.com/109517069/214099535-3123b86f-05c0-4513-8ee8-b7824a7a2782.jpeg)
Actual results
The camera preview shows an aspect ratio of 16:9![IMG_0163](https://user-images.githubusercontent.com/109517069/214099602-a22473fd-ce10-4abf-8f2a-cdfbea0a51a5.PNG)
On the other hand the aspect ratio 1:1 works![IMG_0162](https://user-images.githubusercontent.com/109517069/214099619-d8321e1d-abdf-4da1-93be-470bbbefd03f.PNG)
About your device