Open
Description
Describe the bug
I had several problems with the user orientation being blocked when capturing a photo. Even changing the android:screenOrientation property or locking the rotation with third-party plugins, I realized that the code itself had a function to "Rotate the image according to device orientation, even when UI orientation is locked"
To Reproduce
Steps to reproduce the behavior:
- Call
cameraRef.current.capture()
with the cell phone in landscape mode - Even if the orientation is locked, the capture is done in landscape mode
Expected behavior
The image orientation must be defined by the user, and not forced.
The best option would be to add a property to the capture function, determining whether or not the orientation should be locked.
Screenshots
Locate at /node_modules/react-native-camera-kit/android/src/main/java/com/rncamerakit/CKCamera.kt:161
Metadata
Metadata
Assignees
Labels
No labels