react-native-camera-kit
react-native-camera-kit copied to clipboard
Not able to adjust the size of the scan frame box
I am using this library for barcode but unable to adjust Frame size on camera. https://github.com/teslamotors/react-native-camera-kit/issues/188#issue-331368632 [reference it was closed last time] My Code-> <Camera ref={(ref: any) => { cameraRef = ref }} style={{ flex: 1 }} offsetForScannerFrame={50} heightForScannerFrame={100} cameraType={CameraType.Back} scanBarcode={true} showFrame={true} laserColor="red" frameColor="yellow" onReadCode={()=>{}} />
- On Npm page it says there is a prop to adjust Frame size but I don't think it is working. https://www.npmjs.com/package/react-native-camera-kit/v/9.0.0 [bottom of the page, prop -heightForScannerFrame]
- When camera orientation changes from portrait to landscape, showFrame box is not aligned properly and it goes out of the screen.
Are there any updates regarding this issue?
any updates?
I think these props are no longer declared in the component properties. <CameraScreen />
Is there any update on this issue?
It's a feature we want but no development on it yet. We are open to PRs as long as they address both platforms
any update?