I update my react-native app:
react-native 0.69.1 -> 0.72
react-native-vision-camera 2.14.1 -> 3.6.12
Before updates I use vision-camera-code-scanner for scanning barcodes and scanner scan barcodes on full screen (and the issue was to create custom reaction zone)
But after update the I set the regionOfInterest and it's not work.
Also I found that on the left side of the screen zone where scanner not work (not matter use regionOfInterest or not)
The device.sensorOrientation landscape-right
The screen orientation portrait
Use Android Emulator - Pixel_4_API_34
P.S. regionOfInterest - not work
in red not scanned zone
What I tried
I tried to set the orientation in props of Camera not help.
The start position of screen in top left side but start position of camera frame is top right side.
Question
I update my react-native app: react-native 0.69.1 -> 0.72 react-native-vision-camera 2.14.1 -> 3.6.12
Before updates I use vision-camera-code-scanner for scanning barcodes and scanner scan barcodes on full screen (and the issue was to create custom reaction zone) But after update the I set the regionOfInterest and it's not work. Also I found that on the left side of the screen zone where scanner not work (not matter use regionOfInterest or not)
The device.sensorOrientation landscape-right The screen orientation portrait
Use Android Emulator - Pixel_4_API_34
P.S. regionOfInterest - not work
in red not scanned zone
What I tried
I tried to set the orientation in props of Camera not help. The start position of screen in top left side but start position of camera frame is top right side.
Frame: {"height": 720, "width": 1280}
Code usage:
VisionCamera Version
3.6.12
Additional information