react-native-camera-kit icon indicating copy to clipboard operation
react-native-camera-kit copied to clipboard

Not able to adjust the size of the scan frame box

Open mayanak-shah opened this issue 3 years ago • 6 comments

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={()=>{}} />

  1. 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]
  2. When camera orientation changes from portrait to landscape, showFrame box is not aligned properly and it goes out of the screen.

mayanak-shah avatar Mar 01 '21 20:03 mayanak-shah

Are there any updates regarding this issue?

Volekss avatar Oct 03 '22 12:10 Volekss

any updates?

Karthik-V26 avatar Oct 20 '22 10:10 Karthik-V26

I think these props are no longer declared in the component properties. <CameraScreen />

zunkraz avatar Jan 17 '23 23:01 zunkraz

Is there any update on this issue?

RCCodeBase avatar Apr 25 '23 10:04 RCCodeBase

It's a feature we want but no development on it yet. We are open to PRs as long as they address both platforms

scarlac avatar Aug 14 '23 23:08 scarlac

any update?

SwikarBhattarai avatar Oct 20 '23 11:10 SwikarBhattarai