tidev / titanium-sdk

🚀 Native iOS and Android Apps with JavaScript
https://titaniumsdk.com/
Other
2.76k stars 1.21k forks source link

Camera View is reduced by half when using overlay with useCameraX #14064

Closed cmtanko closed 5 months ago

cmtanko commented 5 months ago

I have searched and made sure there are no existing issues for the issue I am filing

Description

PR: https://github.com/tidev/titanium-sdk/pull/12395

Even when using the sample code in the PR, and clicking 'open camera'. it loads up the camera, but half the height only. Unable to load the camera in fullscreen mode. Screenshot_20240613_224746

Tried on various samsung & pixel devices.

Expected Behavior

Actual behavior

Reproducible sample

Follow the sample code: https://github.com/tidev/titanium-sdk/pull/12395

Steps to reproduce

Platform

Android

SDK version you are using

12.2.1.GA, 12.3.1.GA

Alloy version you are using

2.1.0

m1ga commented 5 months ago

As discussed on Slack: new the code in a new project works fine so I'll close this as it looks like an user/app code related issue.

issues was android:hardwareAccelerated="false"