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

Not able to change width and height of camera view

Open rajscet opened this issue 4 years ago • 4 comments

Issue Description

[Not able to resize cameraview]

<CameraKitCamera ref={(cam) => (this.camera = cam)} cameraOptions={{ flashMode: 'off',

      }}
      style={{
       
        backgroundColor: colors.transperent,
        marginBottom: moderateScale(450),
        position: 'absolute',
        height:
          Dimensions.get('window').height -
          moderateScale(isIphoneX() ? 308 : 270),
        width: moderateScale(200),
        
      }}
      resetFocusTimeout={0}
      resetFocusWhenMotionDetected={true}
      saveToCameraRoll={false}
    />

[FILL THIS OUT - It will be extremely helpful]


Environment

  • React Native Navigation version:5.7.1
  • React Native version: 0.63.2
  • Platform(s) (iOS, Android, or both?): [Android and iOS]
  • Device info : (in all device same issue)

rajscet avatar Nov 24 '20 14:11 rajscet

following.

faraznaqvi99 avatar Nov 27 '20 06:11 faraznaqvi99

Will look into this.

aarongrider avatar Dec 08 '20 03:12 aarongrider

any update here ?

Frknadgzl avatar Jan 05 '21 11:01 Frknadgzl

I'm not able to change width and height of the CameraScreen too ([email protected])

renanmav avatar Apr 16 '21 18:04 renanmav